needs must make MD ignore my PHP

Paul Ingraham, RMT paul at vancouvermassage.ca
Mon Jan 29 14:33:21 EST 2007


Oh frabjous day, calloo, callay! Indeed, problem solved. And what a
particularly excellent solution! Oh boy, oh boy, I can hardly wait
to start writing in markdown syntax!

Thanks to Michael and John for offering assistance.

Cheers,
Paul



On 29-Jan-07, at 10:11 AM, John MacFarlane wrote:


> 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?

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss

>




More information about the Markdown-Discuss mailing list