Wrote a markdown viewer this evening, using the fantastic parsing library md4c, https://github.com/mity/md4c