@hund #atom editor can render to html for you. [Ctrl][Shift]+M. Then you can just open it in a browser and save as pdf. The only drawback is it doesn't render in real time.
Depending on which OS your on, you might want to check out https://remarkableapp.github.io/ as well.