PHP Markdown (javascript injection & list processing)

Michel Fortin michel.fortin at michelf.com
Fri Jul 22 23:32:26 EDT 2005


Thinking about it a little more, there is yet another interesting
workaround which consist of inserting an unindented HTML comment
between the list and the code block. The downside of it is that the
comment is still there in the output, but on the upside the
markdown-formatted text is easier to read.

* list item
* list item

<!-- this comment ends the list -->

code block

This work perfectly with Markdown and PHP Markdown version 1.0.1 and
later.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/



More information about the Markdown-Discuss mailing list