Markdown cheat sheet

Copy it. Use it. Keep writing.

Everyday Markdown syntax in one practical reference, with rendered examples and the common extensions clearly labeled. No scavenger hunt required.

CommonMark core GFM extensions labeled Copyable examples
Riv writing a Markdown reference at a small desk
A note from Riv I kept the useful bits in one place.
# Clear notes
**Important**
- [ ] Next step

Clear notes

Important☐ Next step
Start with the portable coreHeadings, emphasis, links, lists, quotes and code
Notice the extension labelsTables, tasks and strikethrough are common, not universal
Copy only what you needEvery detailed example keeps its source beside the result
Quick reference

The Markdown you reach for every day.

This first table is the short version. Everything marked Extension is widely supported but not part of core CommonMark.

What you wantWrite thisResult or note
Heading# Heading 1
## Heading 2
Use one to six # characters.
Bold**important**important
Italic*emphasis*emphasis
Bold and italic***both***both
Link[Ariv](https://ariv.one)Ariv
Image![Alt text](image.png)Alt text describes the image.
Blockquote> Quoted textPrefix each quoted paragraph with >.
Bullet list- First item
- Second item
* and + also work.
Numbered list1. First item
2. Second item
Numbers may be normalized by the renderer.
Task list Extension- [ ] Open
- [x] Done
Part of GitHub Flavored Markdown.
Inline code`npm test`npm test
Code block```js
const ready = true;
```
Add a language after the opening fence when supported.
Horizontal rule---Put it on a line by itself.
Hard line breakFirst line\
Second line
A trailing backslash or two spaces creates a hard break.
Strikethrough Extension~~removed~~removed
Table Extension| Name | State |
| --- | --- |
| Guide | Ready |
Part of GitHub Flavored Markdown.
Center text HTML<p align="center">Centered text</p>No portable Markdown syntax. Requires an HTML-aware renderer.
Literal formatting character\*not italic\*Use a backslash to escape punctuation.
Comment HTML<!-- hidden note -->Renderer and sanitization support varies.
Want the whole reference beside your notes?The downloadable file contains the quick syntax and portability notes in plain Markdown.
Download ariv-markdown-cheat-sheet.md
Copyable examples

See the source and the result together.

The examples below use the smallest syntax that communicates the structure. Select the code manually or use the copy button.

CommonMark

Headings and emphasis

# Project brief

## Why this matters

Write the **important point** clearly.
Add *emphasis* only where it helps.
Use ***both*** sparingly.

Project brief

Why this matters

Write the important point clearly.
Add emphasis only where it helps.
Use both sparingly.

CommonMark

Links and images

[Visit Ariv](https://ariv.one)

![A clear description](diagram.png "Optional title")

Visit Ariv

IMAGEA clear description

Use meaningful link text. Image alt text should explain the image's purpose, not repeat “image of.”

CommonMark

Quotes and horizontal rules

> Clarity comes from removing
> what the reader does not need.

---
Clarity comes from removing
what the reader does not need.

CommonMark

Bullet and numbered lists

- Capture the idea
- Add enough context
  - Link the source
  - Name the next step

1. Draft
2. Review
3. Publish
  • Capture the idea
  • Add enough context
    • Link the source
    • Name the next step
  1. Draft
  2. Review
  3. Publish
GFM extension

Task lists

- [x] Gather the evidence
- [ ] Write the first draft
- [ ] Review on mobile
  • Gather the evidence
  • Write the first draft
  • Review on mobile

Task lists are a GFM extension. Many apps support them, but plain CommonMark renderers are not required to.

GFM extension

Tables and alignment

| Item | Owner | Status |
| :--- | :---: | ---: |
| Guide | Maya | Ready |
| Demo | Lee | Draft |
ItemOwnerStatus
GuideMayaReady
DemoLeeDraft

Colons in the delimiter row request left, center or right alignment. Some renderers ignore alignment while still rendering the table.

CommonMark

Inline and fenced code

Run `npm test` before shipping.

```js
const ready = true;
console.log(ready);
```

Run npm test before shipping.

const ready = true;
console.log(ready);

The language name after the opening fence is an info string. Syntax highlighting depends on the renderer.

CommonMark

Paragraphs and line breaks

This is one paragraph.

This is a new paragraph.

This line ends with a backslash.\
This stays in the same paragraph.

This is one paragraph.

This is a new paragraph.

This line ends with a backslash.
This stays in the same paragraph.

A blank line is usually the clearest choice. Use a hard break only when the line break itself carries meaning.

CommonMark

Escaping punctuation

\*literal asterisks\*
\# not a heading
\[not a link\]

Use `` `code with a backtick` ``.

*literal asterisks*
# not a heading
[not a link]

`code with a backtick`

HTML

Center text and images

<p align="center">
  Centered text
</p>

<p align="center">
  <img src="logo.png" alt="Project logo">
</p>

Centered text

IMAGEProject logo

Markdown itself has no centering syntax. This raw HTML works only when the reader accepts and preserves it. Some apps sanitize or ignore the HTML or the align attribute.

HTML

Comments

Visible paragraph.

<!-- This note is hidden in many renderers. -->

Another visible paragraph.

Visible paragraph.

Another visible paragraph.

Markdown has no dedicated comment syntax. HTML comments are common, but HTML filtering and export behavior vary.

Put it together

A complete project note in plain Markdown.

This example combines portable structure with clearly marked GFM task syntax. It remains readable even in an editor that does not render every extension.

Copyable note

launch-checklist.md

# Launch checklist

**Goal:** Publish a useful guide without losing accuracy.

## Before publishing

- [x] Check the primary sources
- [x] Test every example
- [ ] Review the mobile layout
- [ ] Confirm the canonical URL

## Notes

> The page should be useful before it asks for anything.

Read the [CommonMark specification](https://spec.commonmark.org/)
and the [GFM specification](https://github.github.com/gfm/).

```sh
npm test
```

---

Updated: 2026-08-11
Rendered preview

Launch checklist

Goal: Publish a useful guide without losing accuracy.

Before publishing

  • Check the primary sources
  • Test every example
  • Review the mobile layout
  • Confirm the canonical URL

Notes

The page should be useful before it asks for anything.

Read the CommonMark specification and the GFM specification.

npm test

Updated: 2026-08-11
Portability

Markdown is a family, not one identical renderer.

Core CommonMark syntax is the safest foundation when a file needs to move between apps. Extensions can still be useful. The important part is knowing when you are using one.

Portable core

CommonMark

  • Headings and paragraphs
  • Emphasis and strong emphasis
  • Links and images
  • Blockquotes and lists
  • Inline and fenced code
  • Hard line breaks and thematic breaks
Common extensions

GitHub Flavored Markdown

  • Tables
  • Task-list items
  • Strikethrough
  • Extended autolinks
  • Filtering of some raw HTML
Check the destination

Renderer-specific features

  • Wikilinks such as [[Note]]
  • Automatic tables of contents
  • Heading anchor rules
  • Footnotes, callouts and diagrams
  • Raw HTML and HTML comments
  • Frontmatter interpretation
Worth knowing

There is no universal Markdown table-of-contents command.

Some apps generate a table of contents from headings. A manual version uses ordinary links, but the heading anchor must match the renderer that will display the file. GitHub, static-site tools and note apps can generate those anchors differently.

## Contents

- [Getting started](#getting-started)
- [Next steps](#next-steps)
Common questions

Where Markdown gets confusing.

Is there one official Markdown standard?
Markdown began as an informal syntax. CommonMark provides a precise specification for a portable core. Dialects such as GitHub Flavored Markdown add features including tables, task lists, strikethrough and autolinks.
How do I make a new line in Markdown?
Use a blank line to start a new paragraph. For a hard line break inside the same paragraph, end the line with two or more spaces or a backslash, then press Enter. Outside CommonMark, a particular renderer may apply different soft-break behavior.
Are Markdown tables and checkboxes standard?
Tables and task-list checkboxes are not part of core CommonMark. They are GitHub Flavored Markdown extensions supported by many modern editors, including Ariv. Check the destination if the file must move between different renderers.
How do I add comments in Markdown?
Markdown has no dedicated comment syntax. Many renderers accept HTML comments such as <!-- hidden note -->. Sanitizing renderers may remove or display raw HTML differently, so treat comments as renderer-dependent.
How do I center text in Markdown?
Markdown has no portable centering syntax. Some readers accept raw HTML, so <p align="center">Centered text</p> may work. Treat it as renderer-dependent because an app may sanitize, ignore or display the HTML differently.
How do I create a Markdown table of contents?
Core Markdown has no automatic table-of-contents syntax. Some apps generate one from headings. A portable manual table of contents uses normal links whose targets match the heading anchors created by the destination renderer.

Your Markdown can stay plain without staying basic.

Open a folder of Markdown files in Ariv and add capture, search, tasks, Kanban, backlinks and optional AI without converting the notes into a proprietary format.

Download desktop app