On 12/11/07, Enno Gottox Boland <gottox_AT_gmail.com> wrote:
> Hi!
>
> I wrote an markdown interpreter in C. It should support most of the
> features markdown.pl has (hopefully). Please report any bugs.
As a markdown junky, I'm really happy that you wrote a C
implementation; thanks !
> It would be a good idea if you could test the interpreter with you're
> own documents and report any differences to markdown.pl
Actually, there is a test suite available. See
http://six.pairlist.net/pipermail/markdown-discuss/2004-December/000909.html
Sadly, cmarkdown isn't passing any test (runned against tip) :
[[[
simon_AT_mallory:~/tmp/MarkdownTest_1.0$ ./MarkdownTest.pl -script
/usr/local/bin/cmarkdown
Amps and angle encoding ... FAILED
Auto links ... FAILED
Backslash escapes ... FAILED
Blockquotes with code blocks ... FAILED
Hard-wrapped paragraphs with list-like lines ... FAILED
Horizontal rules ... FAILED
Inline HTML (Advanced) ... FAILED
Inline HTML (Simple) ... FAILED
Inline HTML comments ... FAILED
Links, inline style ... FAILED
Links, reference style ... FAILED
Literal quotes in titles ... FAILED
Markdown Documentation - Basics ... FAILED
Markdown Documentation - Syntax ... FAILED
Nested blockquotes ... FAILED
Ordered and unordered lists ... FAILED
Strong and em together ... FAILED
Tabs ... FAILED
Tidyness ... FAILED
0 passed; 19 failed.
Benchmark: 0 wallclock secs ( 0.01 usr 0.01 sys + 0.05 cusr 0.02
csys = 0.09 CPU)
]]]
I hope that little pointer will be helpfull. And again, thanks for sharing!
Regards,
-- Simon Rozet <simon_AT_rozet.name>Received on Thu Dec 13 2007 - 15:58:00 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:11:44 UTC