Ticket #16 (closed defect: wontfix)
code block error
| Reported by: | deveiant | Owned by: | deveiant |
|---|---|---|---|
| Milestone: | Old Bugfixes | Component: | MarkdownSyntax |
| Version: | 1.0.0 | Severity: | normal |
| Keywords: | codeblock colon markdown syntax | Cc: |
Description
BlueCloth seems to require that the previous line ends with a colon for the code block to be recognised.
For example...
Here is a line that might describe the following codeblock
here is the actual codeblock. This should be seen as a codeblock
yet as the first line didn't end with a : it is just treated as normal
text :-(
whereas this example works...
Here is another line that might describe the following codeblock:
hooray the codeblock is recognised!
Change History
Note: See
TracTickets for help on using
tickets.

Thanks for this report.
Code block syntax was changed in Markdown 1.0.1 -- Bluecloth currently still implements the 1.0 syntax rules. The changes to support colon-less code blocks is already committed, and will be in the next release.