Brett on 03 Feb, 2012 08:40 PM
Marked strips most headers when rendering as they trigger a full document render in MultiMarkdown and that makes it impossible to create valid markup with the results. In this case, it's improperly locating the headers because it also strips out script tags. I might need to switch the order in which it does that. However, MathJax include is a built-in feature of Marked, is there a reason you're including it separately?
on 06 Feb, 2012 06:29 PM
Thanks for the reply!
I see, is there anything I could do to make sure it doesn't
strip out the first line as well? One reason I have for including
the XHTML headers is using my own MathJax installation. This lets
me use it without internet access. Also this fork allows equation
Brett on 06 Feb, 2012 06:50 PM
I fixed the first line issue for the version currently in beta. It will be available soon.
If you turn off the Include MathJax feature in preferences, and then add your own either in XHTML Header: or directly in the body, it *should* be pulled out and added to the end of the rendered document automatically. Until the new version is out, just make sure that you have your headers in the order that doesn't strip the first line. Let me know if there's an issue I'm not aware of and I'll make sure it's fixed in the new version.