What does a Markdown to HTML converter do?
A Markdown to HTML converter reads simple symbols such as # and ** and writes the matching HTML tags. Markdown is quick to type. HTML is what browsers and most content systems understand.
Markdown to HTML cheat sheet
| Markdown | HTML | Result |
|---|---|---|
# Title |
<h1>Title</h1> |
Main heading |
**bold** |
<strong>bold</strong> |
Bold text |
*italic* |
<em>italic</em> |
Italic text |
[text](url) |
<a href="url">text</a> |
Link |
 |
<img src="src" alt="alt"> |
Image |
- item |
<ul><li>item</li></ul> |
Bullet list |
> quote |
<blockquote>quote</blockquote> |
Quote |
Leave a blank line between paragraphs. Without it, Markdown joins the lines together.
What is GitHub Flavored Markdown?
GitHub Flavored Markdown adds tables, task lists, strikethrough and fenced code blocks to the basic syntax. The converter supports all four. A README will usually convert cleanly, though GitHub only features such as mentions stay as text.
Is the HTML safe to publish?
Check it first if someone else wrote the source. Markdown allows raw HTML, including scripts, and the converter keeps it in the output. The preview pane removes unsafe code before showing it. The copied HTML isn't changed.
How do you convert HTML to Markdown?
Switch the direction and paste the HTML. Headings, lists, links, tables and code come across well. Page layouts don't, since Markdown has no columns or colors. That's handy for moving old blog posts into a docs folder.
Publishing a page next? Add facts with the schema markup generator and check the share card in the Open Graph preview. For social posts, use the LinkedIn text formatter, because social apps ignore Markdown.