Publish Markdown as HTML
Notes and docs live in Markdown; the web wants HTML. Convert a .md source to markup you can paste into a CMS or a page template.
Tools used in this guide
The job
A CMS field, a help page, an email template — plenty of destinations want HTML but the source of truth is easier to keep in Markdown. The converter emits clean markup: headings, lists, code blocks and links as real tags.
How to do it
Paste the Markdown, choose a bare fragment (for pasting into an existing page) or a minimal full document (doctype and all), and convert. The result is the serialized HTML — copy it or download it as .html.
- Fragment output suits CMS body fields; the document output is a standalone page skeleton to extend.
- Code blocks keep their language hint as a class for syntax highlighters.
Worked example
A README section converted as a fragment drops into a project wiki page — h2/h3 headings and an unordered list rendered as HTML — while the same source as a document produces a shareable standalone page.
Limits
The syntax set matches the Markdown preview: headings, emphasis, code, links, images, lists, quotes and rules — no tables or footnotes. Unsafe link URLs (javascript: and friends) degrade to plain text rather than emitting a dangerous attribute.