Markdown Syntax Cheatsheet



Markdown Quick Reference Cheat Sheet

Note: The instructions from this guide are referring to the Classic Editor. If you are using the WordPress block editor, please see this guide.

Markdown

This cheatsheet is specifically Markdown Here's version of Github-flavored Markdown. This differs slightly in styling and syntax from what Github uses, so what you see below might vary a little from what you get in a Markdown Here email, but it should be pretty close. The one-page guide to Kramdown: usage, examples, links, snippets, and more.

See the Markdown page for instructions on enabling Markdown for posts, pages and comments on your blog, and for more detailed information about using Markdown.

MarkdownProcessed
EmphasisEmphasize
Strong

Some WordPress.com themes may have different formatting for these styles

Inline Links

Most browsers show the title text when hovering over a link.

Please note that WordPress shortcodes, like [video] or [audio], will take priority over Markdown links and shouldn’t be used for link text.

A link.
Referenced Links

The reference section can be anywhere in the document

Some text with a link and another link.
Inline Images

The “Alt” text (alternative text) makes images accessible to visually impaired

Logo:
Referenced ImagesSmaller logo:
Linked ImagesLinked logo:
Footnotes

Footnotes will be added to the bottom of the document, with a link back to the original reference

I have more 1 to say up here.
Line breaksWe do not support Markdown’s typical double-space to generate a line break due to our built-in auto-linebreaking function. A regular line break will generate a line break on output.
Bullet Lists
  • Item
  • Item
  • Item
  • Item
Numbered Lists
  1. Item
  2. Item
Mixed Lists
  1. Item
  2. Item
    • Mixed
    • Mixed
  3. Item
Blockquotes

Quoted text.

Quoted quote.

  • Quoted
  • List
Preformatted
CodeThis is code
Code block
Syntax highlighting

See Posting Source Code for supported languages

Headers

Closing hash marks are optional on all levels

Header 1

Header 2

Amnesia: a machine for pigs. Header 3

Header 4

Header 5

Header 6

Definition Lists
WordPress
A semantic personal publishing platform
Markdown
Text-to-HTML conversion tool

Formatting for definition lists may vary between themes

Abbreviations

Definitions can be anywhere in the document

Markdown converts text to HTML.

These are some of the most useful Markdown features available on WordPress.com. See the official Markdown project and Markdown Extra for details about all available features, and variations on the features mentioned here.

Versatile plans and pricing

  • Free

    Best for students

  • Personal

    Best for hobbyists

  • Premium

    Best for freelancers

  • Business

    Best for small businesses

Overview

Need to refresh your memory regarding Markdown syntax? Excellent!

Below are listed the most common and used elements of the language.

It is worth mentioning that, here only the basics of Markdown are presented, if you need more information see the basic syntax and extended syntax sections.

Cheatsheet

Basic syntax

MarkdownMarkdownMarkdown Syntax Cheatsheet

Mkdocs

The elements that underlie Markdown are shown below. These formatting elements were described in the original language document and the vast majority of programs support them.

Markdown Syntax Cheatsheet

ElementMarkdown
Titles
Bold
Italic
Blockquote
Ordered list
Unordered list
Code
Horizontal rule
Link
Image

Github Markdown Guide

Extended Syntax

With the evolution of Markdown, other elements were implemented, enriching the range of options for formatting documents. On the one hand, a little more complexity, but on the other, the language gained more resources for the construction of different documents.

Github Markdown Syntax

Keep in mind that not all applications developed for Markdown support these elements, it is always a good idea to consult the program documentation or the tools section.

ElementMarkdown
Table
Fenced code block
Footnote
title ID
Definition list
Strikethrough
Task List