XRENDERING-297: Add Markdown Syntax 1.1 with macros, superscript and subscript support
* Remove some code duplication