[cl-markdown-devel] [bug] setext headers
Daniel Herring
dherring at tentpost.com
Sun Nov 9 06:18:28 UTC 2008
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
More information about the Cl-markdown-devel
mailing list