haghish / markdoc

A literate programming package for Stata which develops dynamic documents, slides, and help files in various formats
http://haghish.com/markdoc
87 stars 30 forks source link

<!doctype> and pandoc troubles #28

Open thomasgstewart opened 5 years ago

thomasgstewart commented 5 years ago

It appears that pandoc 2 is converting <!doctype> to &lt;!doctype&gt; when converting from .md to .html. The downstream consequence is that html and html-to-pdf output now have <!doctype> at the head.

On a personal note, your package is very much appreciated.

haghish commented 5 years ago

Thank you thomas. at the moment, I'm putting more work on the mini engine, which runs markdoc without any dependencies. If you have an idea how to fix this problem I will be happy to implement it for Pandoc 2.0