Loading custom HTML from a file?

Here is a post describing how I dealt with this. I used markdown-it as the parser.