Hey Adam, you should probably avoid marked.js.
It suffers from a number of security issues [1] and it's unmaintained (or at least the maintainer is AWOL and without him new releases can't be tagged).
Markdown-it is probably a good alternative. [2]
[1]https://github.com/chjj/marked/issues?utf8=%E2%9C%93&q=is%3A...