commonmark: Add support for CommonMark

Currently not all the features are mapped (e.g. the language
isn't forwarded and the section ids aren't generated)