Hi Hans,
I have a fix for the errant paragraph tags but I'm not sure I like that Markdown doesn't apply markdown inside the blocks. I.e., I'd rather that
<div>
## Header
</div
become
<div> <h2>Header</h2> </div>
What's your opinion? Is there a justification for one behavior over the other.
thanks,
On Feb 26, 2007, at 9:50 AM, Hans Halvorson wrote:
cl-markdown does not yet treat <div> tags in the special way that perl-markdown treats them; instead cl-markdown wraps <div> tags in <p> tags. Here is an example input string:
input string (9 lines total):
<div class="header">
Header text
</div>
# Heading
Some text
Here are the respective output strings:
cl-markdown output:
<p><div class="header"> </p><p>Header text </p><p></div> </ p><h1>Heading </h1> <p>Some text </p>
perl-markdown output: =====================x
<div class="header">
Header text
</div>
<h1>Heading</h1>
<p>Some text</p>
See the description of how perl-markdown treats div tags: http://daringfireball.net/projects/markdown/syntax#html
Thanks, Hans _______________________________________________ cl-markdown-devel mailing list cl-markdown-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cl-markdown-devel
-- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM