#1376 [sidewalk] code after list not recognized

Akcelisto Sat 8 Jan 2011

Sidewalk cant enable preformatted if string stats with -. Because of I mark left border of post textfield by vertical signs.

Sidewalk bug.

This text:

|- item
|- item
|
|  fantom code

Sidewalk render:

  • item
  • item

    fantom code

Expected: string fantom code renders as preformatted

brian Sat 8 Jan 2011

You have to indent the code two in from beginning of the indent:

Example code:

- item 1
- item 2
    
    fantom code

- item 3

Actual rendering:

  • item 1
  • item 2
    fantom code
  • item 3

If you actually want to mark a section of text as code no matter use pre> and <pre marker lines.

See http://fantom.org/doc/fandoc/pod-doc.html

Login or Signup to reply.