The test cases below are intended as specs for Baremark, though they will evolve as Baremark does so.
Legend:
Passed
Failed
All skipped
These are the test cases of the CommonMark 0.30 spec run against Baremark. As Baremark is intended to be minimal in size, not all of these CommonMark tests will ever pass, but they can give you an idea of how compatible Baremark is.
The HTML generated by Baremark is not necessarily identical to that of other CommonMark compliant Markdown generators. Among other things, Baremark favor older HTML tags, such as <i>, <b> and <s> (over the newer <em>, <strong> and <del> etc) simply because they’re shorter. (Semantic markup, pha!—Who are we kidding anyway?!) Neither does Baremark spend any effort on collapsing or cleaning up your whitespace for you (your browser will collapse for you anyway), so for the most part, the whitespace found in the outputted HTML is the same as the one found in the Markdown (with the obvious exceptions being the processing of newlines and linebreaks mandated by the Markdown specs). For source brevity Baremark uses HTML character code entities (such as &), rather than more commonly seen named entities (&).
Legend:
Passed
Failed
All skipped
I kinda, sorta, accidentally put this very simple test framework/page together to present how well Baremark fared with the CommonMark test suite. The below “test results” are only meant to show what different kind of test results look like on the page.
Legend:
Passed
Failed
All skipped