Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Markdown cheat sheet

Use this cheat sheet for syntax reference in the Markdown language. You can use Markdown in the Markdown Block.

Note: Markdown language is an advanced modification that falls out of the scope of Squarespace support. We only recommend Markdown if you're comfortable using it.

Phrase emphasis

*italic* and **bold**

italic and bold

Links

Inline (titles are optional):

Some [linked text](http://squarespace.com/ "Title").

Some linked text.

Reference-style labels (titles are optional):

An [example][id].

Then, anywhere else in the same block, define the link: 

[id]: http://squarespace.com/ "Title"

An example.

Tip: You can use whatever you want to in place of "id". Just ensure that they 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): 

![alt text](/path/img.jpg "Title")

Reference-style

![alt text][id]

[id]: /url/to/img.jpg "Title"

Headings

# Heading 1  

## Heading 2

Heading 1

Heading 2

Lists

Ordered, without paragraphs: 

1. Foo
2. Bar
  1. Foo
  2. Bar

Unordered, with paragraphs: 

* A list item.    
With multiple paragraphs.
* Bar
  • A list item.
    With multiple paragraphs.
  • Bar

Nested: 

* Abacus
*absolute
* Bananas
1. bitter
2. bupkis
3. burper
* Cunning
  • Abacus
    • absolute
  • Bananas
    1. bitter
    2. bupkis
    3. burper
  • Cunning

Blockquotes

> Email-style angle brackets are used for blockquotes.
>> You can also nest them.
>>
> * You can quote a list.
> * Etc.

> To break the nested blockquote, add a space between lines.

Add another line to resume regular paragraph text.

Email-style angle brackets are used for blockquotes.

You can also nest them.

  • You can quote a list.
  • Etc.

To break the nested blockquote, add a space between lines.

Add another line to resume regular paragraph text.

Note: This site uses custom styling for blockquotes. The code provided here won't create the same green and yellow boxes as you see in our help guides.

 

Code spans

`<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`.

Preformatted Code Blocks

Indent every line of a code block by at least 4 spaces. Use a colon at the end of the preceding paragraph.

This is a normal paragraph:

This is a preformatted code block.

Preceded by a space, the colon disappears :

This is a preformatted code block.

This is a normal paragraph:

This is a preformatted code block.

Preceded by a space, the colon disappears :

This is a preformatted code block.

Horizontal rules

Three or more dashes or asterisks: 

    ---

***

- - - -



Manual 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

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?
331 out of 478 found this helpful