Markdown cheat sheet

Quick answer

Markdown formats text with ordinary characters: # for headings, ** for bold, - for lists and | for tables. Each row below shows what you type and how a Markdown editor such as MD Editor shows it.

You typeYou see
Text
**bold**

bold

*italic*

italic

~~strikethrough~~

strikethrough

==highlight==

highlight

Headings
# Heading 1

Heading 1

## Heading 2

Heading 2

Lists
- One
- Two
- Three
  • One
  • Two
  • Three
1. One
2. Two
3. Three
  1. One
  2. Two
  3. Three
- [ ] To do
- [x] Done
  • To do
  • Done
Links and pictures
[MD Editor](https://mdeditor.app)

MD Editor

![Green hills](picture.png)

Green hills

Tables
| Name | Age |
| ---- | --- |
| Alex | 25  |
| Sam  | 32  |
NameAge
Alex25
Sam32
Code
`code`

code

```
function add(a, b) {
  return a + b;
}
```
function add(a, b) {
  return a + b;
}
Quotes
> Less is more.

Less is more.

Footnotes
Text with a note.[^1]

[^1]: The note itself.

Text with a note.1


  1. The note itself. ↩

Questions

Which Markdown does MD Editor read?

GitHub Flavored Markdown: headings, lists, task lists, tables, strikethrough, quotes, code, links and pictures. MD Editor also reads footnotes, definition lists, highlights (==text==), superscript (x^2^) and subscript (H~2~O).

Can I use HTML in Markdown?

Yes. MD Editor's preview shows HTML written in a Markdown file, such as <br> for a line break or <details> for a section that opens and closes. For safety, it leaves out scripts, styles and embedded pages.

Does MD Editor show math?

No. The preview does not draw math (LaTeX) or diagrams (Mermaid), and it does not colour code. They appear as you typed them, as text or in a code block.

Free. No account, no tracking, no ads.

  • Coming to the Microsoft Store
  • Coming to Google Play

Thanks for downloading MD Editor

MD Editor is free, with no ads and no tracking. If you find it useful, a small tip on Ko-fi helps keep it that way.

Support on Ko-fi

Your download continues in the store.