Re: [dwm] [ANNOUNCE] cmarkdown-0.3
Enno Gottox Boland [EMAIL PROTECTED] wrote: I use pre for displaying a block segment of code. Markdown.pl uses precode. I really don't know if I should use that too. I read, that it should be precode, because of the semantic behind it. pre just stands for preformated text, code normally does not change anything in the graphical view of the layout engines, but it says: this is a special kind of preformated text - it's code. I think screen readers distinguish here. That's like the difference betweeen b and strong. meillo
Re: [dwm] [ANNOUNCE] cmarkdown-0.3
On Fri, Dec 14, 2007 at 09:37:58AM +0100, Sebastian A. Liem wrote: What's bad about markdown? I've got minimal experience with it, it was cmarkdown that got me interested in txt2html converters. Little related ..but maybe this project may interest you: http://news.nopcode.org/miau/pvc.cgi?prj=xml2doc http://news.nopcode.org/miau/pvc.cgi?prj=rss2html Enno Gottox Boland [EMAIL PROTECTED] wrote: I use pre for displaying a block segment of code. Markdown.pl uses precode. I really don't know if I should use that too. I agree with meillo, it should be precode. More semantically correct. -- Sebastian A. Liem http://www.liem.se/
Re: [dwm] [ANNOUNCE] cmarkdown-0.3
On 12/11/07, Enno Gottox Boland [EMAIL PROTECTED] 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) : [[[ [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]
Re: [dwm] [ANNOUNCE] cmarkdown-0.3
Thanks! Hi! Actually, there is a test suite available. See http://six.pairlist.net/pipermail/markdown-discuss/2004-December/000909.html It's a good guidline, but Markdown has some syntactic quirks which are difficult to implement in C. Furthermore MarkdownTest is far to strict, imho. I use pre for displaying a block segment of code. Markdown.pl uses precode. I really don't know if I should use that too. There are other things which aren't implemented in cmarkdown yet. e.g. I can't find a proper way to implement reference-style links. Btw: 0.6 is out: http://s01.de/~gottox/files/cmarkdown/cmarkdown-0.6.tar.gz Thanks! Gottox -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Re: [dwm] [ANNOUNCE] cmarkdown-0.3
On 12/14/07, Enno Gottox Boland [EMAIL PROTECTED] wrote: It's a good guidline, but Markdown has some syntactic quirks which are difficult to implement in C. Furthermore MarkdownTest is far to strict, imho. markdown is not suckless so i don't mind if cmarkdown doesn't follow its specification imho a sane syntax with sane parser is better than a markdown clone btw compiling with -Wall reveals a couple of problems (like int main() does not return)
[dwm] [ANNOUNCE] cmarkdown-0.3
Hi! I wrote an markdown interpreter in C. It should support most of the features markdown.pl has (hopefully). Please report any bugs. It would be a good idea if you could test the interpreter with you're own documents and report any differences to markdown.pl Mercurial: hg clone http://s01.de/~gottox/hg/cmarkdown/ Tarball: http://s01.de/~gottox/files/cmarkdown-0.3.tar.gz regards Gottox -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)