Flat code block syntax

Trent Mick trentm at gmail.com
Sat Feb 16 02:23:17 EST 2008



> You get the idea. This mostly becomes a problem when writing technical

> docs with frequent chunks of embedded code, and the solution would

> appear to be to have different markup for begin-block and end-block.

> This is the approach that the Trac wiki syntax takes, using

>

> {{{

> chunk of code here

> }}}



This is also the approach of the Google Code wiki syntax. As well, the
language for language-specific syntax highlighting can be specified
via:

{{{{Python}
print "hello world"
}}}

Just a data point. I missed the earlier part of this discussion.

Cheers,
Trent

--
Trent Mick
trentm at gmail.com


More information about the Markdown-Discuss mailing list