parsing latex before markdown - addComment is now public