Consider
"" asdf --
asdf ---
asdf -----
asdf ------ ""
All of these should render as a header (same for =s). http://daringfireball.net/projects/markdown/syntax#header
Cl-markdown renders them as
"" <p>asdf -- </p><p>asdf </p><hr/><p>asdf </p><hr/><h2>asdf </h2> ""
while the perl script renders them as
"" <h2>asdf</h2>
<h2>asdf</h2>
<h2>asdf</h2>
<h2>asdf</h2> ""
It appears that cl-markdown only recognizes headers if there are 6 or more -/=s.
Later, Daniel
Hi Daniel,
Right you are. I must have mis-read the syntax document a _long_ time ago because I was definitely checking for 6 dashes/equal-signs.
A fix will be out sometime today.
On Nov 9, 2008, at 1:18 AM, Daniel Herring wrote:
"" asdf --
asdf
asdf
asdf
""
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
cl-markdown-devel@common-lisp.net