Ticket #16 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

code block error

Reported by: deveiant Owned by: deveiant
Priority: normal Milestone: 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

Changed 3 years ago by deveiant

  • status changed from new to assigned

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.

Changed 2 years ago by deveiant

  • milestone changed from Markdown 1.0.1 to Bugfixes
Note: See TracTickets for help on using tickets.