Flexible Markdown Parser

Michel Fortin michel.fortin at michelf.ca
Sun Sep 14 10:45:00 EDT 2014


Le 14-sept.-2014 à 9:48, Andrei Fangli <andrei_fangli at hotmail.com> a écrit :

> Thanks,
> 
> I’ll fork the repo and convert the tests cases to C# unit tests in a separate branch.
> 

You can do that.

But note that you can already run those tests on the command line if you have PHP-CLI installed on your machine and you have an executable that reads Markdown on stdin and writes HTML on stdout. The existing PHP driver normalizes XHTML output to account for insignificant differences in spacing and character entities, and it can generate diffs when the output doesn't match.

So maybe you'll prefer using `php mdtest.php -s SomeMarkdownParser.exe` instead of rolling your own. Just a suggestion.

-- 
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca



More information about the Markdown-Discuss mailing list