Flat code block syntax

Bruce Phillips bruce at macscripter.net
Wed Oct 10 21:05:23 EDT 2007



> Date: Tue, 09 Oct 2007 22:41:41 -0400

> From: Michel Fortin <michel.fortin at michelf.com>

>

> Here are our options: ... Any opinion? Should we look into non-

> ASCII characters too?

>

> Personally, my preference still goes to tilde.


After comparing various characters in a real document, I also prefer
the tilde.


> Date: Mon, 08 Oct 2007 07:39:13 -0400

> From: Michel Fortin <michel.fortin at michelf.com>

> ~~~~~ {.haskell}

> inlineNote = try $ do

> failIfStrict

> char '^'

> contents <- inlinesInBalanced "[" "]"

> return $ Note [Para contents]

> ~~~~~

>

> Here I've followed the planned syntax for adding attributes to

> Markdown elements which was discussed some time ago on this list,

> where attributes are in braces and class names can be added by

> preceding them with a dot. It is still unimplemented in PHP Markdown

> Extra, but I think Markuru has most of it. I think it's better to

> reuse that than to create an entirely new syntax for the same purpose.


I'd like to see this as well.

Bruce Phillips



More information about the Markdown-Discuss mailing list