Markdown Cheat Sheet
What is markdown?
Markdown is a simple and easy-to-use way of formatting text. It uses characters like hashtags and asterisks to create headings, bold and italic text, lists, and other formatting styles. It's a quick and straightforward way to make text look more organized and visually appealing.
Supported Markdown
Sanity works with the following markdown.
Headings
Text:
# Heading 1
## Heading 2
### Heading 3
Result:
Heading 1
Heading 2
Heading 3
Emphasis
Text:
I am *emphasized*
Result:
I am emphasized
Strong Emphasis
Text:
I am **strongly emphasized**
Result:
I am strongly emphasized
Link
Text:
https://www.sanity.media
[Sanity Media](https://www.sanity.media)
Result:
YouTube
Text:
https://youtu.be/UpSXpwKrfp0
https://www.youtube.com/watch?v=UpSXpwKrfp0
[My Video](https://www.youtube.com/watch?v=UpSXpwKrfp0)
Result:
Code
Text:
```javascript
const example = "example";
```
Result:
const example = "example";
Blockquote
Text:
This is normal text
> This is a blockquote
Result:
This is normal text
This is a blockquote