3 ms·
> Specs are important but I'd argue a conformance test is equally or even more important. I agree, but the article mentions tests prominently. They didn't miss
by SideburnsOfDoom 14y ago
> Specs are important but I'd argue a conformance test is equally or even more important.
I agree, but the article mentions tests prominently. They didn't miss that out.
- bergie 14y agoHere are the tests we wrote for HTML-to-Markdown conversion. Could be useful when switched the other way around :-) https://github.com/bergie/to-markdown/blob/master/test/tests.js https://github.com/bergie/to-markdown/blob/master/test/tests...
- draegtun 14y agoAlso worth looking at the tests for Text::Markdown which is the canonical version of Markdown on CPAN. https://metacpan.org/source/BOBTFISH/Text-Markdown-1.000031/t https://metacpan.org/source/BOBTFISH/Text-Markdown-1.000031/...