Basically I made a mini-plugin for NodeBB that processes the text. It takes in the text from a post, processes it (turns the pseudo-markdown into html) and outputs it formatted the way you see. I'm happy to share the javascript I used, but I don't know how much control your blog software gives you. If it doesn't just let you use arbitrary javascript, I don't know that it will be much use to you.

I'm using Ghost, which is also built around NodeJS and uses Markdown - pretty convenient to use one formatting tool across my two biggest posting places! It does indeed allow for arbitrary JS, so if you could send that to me I'd greatly appreciate it!