Remove trailing phantom characters
Get syntax highlighting working with pandoc
Improve rendering