Marcio's answer can be simplified to use of a command line option with markdown-pdf
markdown-pdf --remarkable-options '{"html": true}' your_doc.md -o your_doc.pdf