[ANN] Babelmark

Michel Fortin michel.fortin at michelf.com
Sat Mar 22 13:09:26 EDT 2008


I'm currently attempting to write a spec for parsing Markdown Extra,
and since one goal is to minimize the differences in output between
implementations, I've made a tool allowing me to compare who does what
for any given input. I hope this can also facilitate future
discussions about the syntax.

So here's Babelmark, a testbed for various Markdown implementations
were you give the input and you get the HTML output for Markdown.pl
1.0.1 and 1.0.2b8, PHP Markdown and PHP Markdown Extra, Python
Markdown, Text::Markdown and Text::MultiMarkdown, and finally Showdown.

Unfortunatly, my web host doesn't do Ruby, nor Java, C# or Lua, so the
online version is missing a couple of interesting implementations.
Locally on my computer Babelmark also do BlueCloth, Maruku, MarkdownJ,
markdown.lua, and Pandoc. I'm very sorry if your Markdown
implementation can't be part of Babelmark online, but if anyone has a
better host to offer for Babelmark, ideally with support for all of
these, I'd gladly send him the scripts.

You can find Babelmark here:

<http://michelf.com/projects/babelmark/>

Also note that, contrary to the normal Markdown or PHP Markdown
dingus, you can bookmark specific tests since the input string is
encoded in the URI. Here are some interesting cases for instance:

<http://michelf.com/projects/babelmark/?markdown=_test_test_test_>
<http://michelf.com/projects/babelmark/?markdown=*test+%5Btest*+test%5D%28%23%29
>
<http://michelf.com/projects/babelmark/?markdown=%5Btest%5D%0D%0A%0D%0A%5Btest%5D%3A+%23
>

So that's it. Have fun with it.


Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Markdown-Discuss mailing list