Preserving HTML when processing Markdown

Hi, I am using the built in Julia Markdown parser like this:

html = Base.Markdown.html(Markdown.parse_file(ifname))

Here “ifname” is a file containing Markdown text source. The result, “html” is a string that contains the Markdown parsed into html.

My question is, if my source file contains raw html mixed within the Markdown, is there some way I can tell the Markdown parser to leave this html untouched and put it as-is in the resulting html output? Thanks!

1 Like