'How to Save Rendered HTML from Markdown in PyCharm

When I export a markdown file to HTML in PyCharm, the result shows raw markdown rather than rendered. The preview pane shows the correct rendering. Is there a way to export to HTML so that headings, bullets, etc. render correctly?

Example of what the html output looks like in a browser: html output

Example of preview pane: html preview



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source