needs must make MD ignore my PHP

John MacFarlane jgm at berkeley.edu
Mon Jan 29 13:11:26 EST 2007


Paul,

This problem seems to be fixed in the most recent version of Markdown.pl
(1.0.2b7).
<http://daringfireball.net/projects/downloads/Markdown_1.0.2b7.tbz>

JM

+++ Paul Ingraham, RMT [Jan 28 07 21:31 ]:


> That. I'm not quite sure how to clarify what I've already written.

> Perhaps I can give a little more context. Markdown converts this...

>

> Lorem ipsum dolor sit amet, consectetaur adipisicing elit...

>

> <?php $blurbno = rand(1,28); require("begblurbs/begblurb

> $blurbno.html"); ?>

>

> Lorem ipsum dolor sit amet, consectetaur adipisicing elit...

>

> To this...

>

> <p>Lorem ipsum dolor sit amet, consectetaur adipisicing elit...</p>

>

> <p><?php $blurbno = rand(1,28); require("begblurbs/begblurb

> $blurbno.html"); ?></p>

>

> <p>Lorem ipsum dolor sit amet, consectetaur adipisicing elit...</p>

>

> The <p> element around the php line is problematic. I need Markdown

> to ignore the php!

>

> >> What can I do to convince Markdown to ignore my php?



More information about the Markdown-Discuss mailing list