A tour of the Markdown syntax
Markdown is a very powerful markup language, here's a list of all the formats we support.
Bold & Italic
Here's a sentence with **bold**, *italic*, _underscore_, ~~strikeout~~ and ==highlighted text==.
Here's a sentence with bold, italic, underscore, strikeout and ==highlighted text==.
Links
Here's a link to an [external site](https://collectednotes.com).
An anchor [within the page](#links)
Here's a link to an external site. An anchor within the page A footnote 1
Images
![alt text for image](https://dz9bwsmj4cyj5.cloudfront.net/assets/hero-head-figure-4d0ee43c7fdce7b1761241f6e08b0e2dda9709a4001dca7e6c7e6e3e97f2976f.png)
Headers
# H1
## H2
### H3
#### H4
##### H5
###### H6
H1
H2
H3
H4
H5
H6
Bullet points
- an unordered list
- list
1. a numbered one
2. another bullet
- an unordered list
- list
- a numbered one
- another bullet
Checkboxes
-[] Something I need to do
-[x] Something I accomplished
-[] Something I need to do -[x] Something I accomplished
Code
"```swift
func hello() {
print("Hello")
}
"```
(Note: remove quotes above)
func hello() {
print("Hello")
}
Most popular programming languages are supported.
Embed YouTube videos
[YouTube dQw4w9WgXcQ]
Note dQw4w9WgXcQ is the id of the video, which can be found on the YouTube video URL.
[YouTube dQw4w9WgXcQ]
Comments
You can add markdown code comments that won't be rendered on your note like this:
[//]: # (This may be the most platform independent comment)
Table of contents
When you include [TOC]
in these formats, we’ll generate a rendered TOC, making navigation smoother on any markdown-compatible platform.
Additional considerations
- Newlines are supported (Markdown doesn't by default).
- If you add a link URL we automatically auto-link to it. No need to wrap in the text syntax.
- Images uploaded are downsized automatically.
- We escape any HTML on the Markdown note. This is to avoid things like XSS.
Footnotes
-
This is a footnote. t ↩