Markdown cheat sheet
false
Markdown cheat sheet
Last updated October 12, 2026 20:42
Format text, links, images, and lists with Markdown.
You can use plain-text syntax for formatting in a Markdown block. The block also has a toolbar for common formatting like bold, links, and lists. For more specific styling options, you can use custom code in the Markdown block.
Note:
Custom code might break your site’s appearance or behavior, especially on mobile devices. Our support team can’t help you add custom code to your site or troubleshoot issues that arise from using it. We recommend these resources for more help:
Bold and italics
*italic* and **bold**
italic and bold
Strikethrough
Single and double tildes both work.
~~This text is crossed out.~~
~So is this.~
~~This text is crossed out.~~
~~So is this.~~
Links
Inline
Titles are optional.
Some [linked text](http://squarespace.com/).
Some linked text.
Reference-style labels
Titles are optional. Define the link anywhere else in the same block.
An [example][id].
[id]: https://example.com "Title"
An example.
You can use anything in place of id, as long as both instances match.
Superscript and subscript
Superscript
E=MC<sup>2</sup>
E=MC2
Subscript
Plants need CO<sub>2</sub>
Plants need CO2
Images
Inline
Titles are optional.


Reference-style
Titles are optional.
![alt text][id]
[id]: /url/to/img.jpg "Title"

Headings
## Heading 1
## Heading 2
Heading 1
Heading 2
Lists
You can start list items with a dash or an asterisk.
Ordered
1. A list item
2. Another list item
- A list item
- Another list item
Unordered
* A list item.
With multiple paragraphs.
* Another list item.
- A list item. With multiple paragraphs.
- Another list item.
Nested lists
* Abacus
*absolute
* Bananas
1. bitter
2. bupkis
3. burper
* Cunning
- Abacus
- absolute
- Bananas
- bitter
- bupkis
- burper
- Cunning
Tasked lists
Add brackets after the list marker. Put an x between them to show a completed task.
- [ ] An unfinished task
- [x] A finished task
Tables
Markdown table syntax renders without borders or column spacing. To add a table, use custom code to add tables.
Blockquotes
Start a line with an angle bracket. Add a second bracket to nest a quote inside another.
Angle brackets create a blockquote.
Add a second bracket to nest one.
* You can quote a list.
* Like this.
Add a line with a single bracket to return to the outer quote.
Add a line with no bracket to resume regular paragraph text.
Angle brackets create a blockquote.
Add a second bracket to nest one.
- You can quote a list.
- Like this.
Add a line with a single bracket to return to the outer quote.
Add a line with no bracket to resume regular paragraph text.
Inline code
`<code>` spans are delimited by backticks.
You can include literal backticks like `` `this` ``.
<code> spans are delimited by backticks. You can include literal backticks like `this`.
Code blocks
Indent every line of a code block by at least 4 spaces. Backtick code fences aren't supported.
This is a normal paragraph:
This is a preformatted code block.
This is a normal paragraph:
This is a preformatted code block.
Horizontal rules
Three or more dashes create a horizontal rule. All of these produce the same result.
---
***
- - - -
Line breaks
End a line with two or more spaces:
Roses are red,
Violets are blue.
Roses are red, Violets are blue.
Text colors and fonts
These use inline HTML rather than Markdown, and they work in a Markdown block.
In his beard lived three <span style="color:red">cardinals</span>.
In his beard lived three cardinals.
I am in <span style="font-family:Papyrus; font-size:4em;">LOVE!</span>
I am in LOVE!
Was this article helpful?
Yes No
1907 out of 2964 found this helpful
Yes No
Markdown cheat sheet
