test-blog
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
title: | Markdown Cheatsheet |
---|---|
date: | 2023-06-16T00:00:00.000Z |
description: | A quick reference guide for markdown syntax |
This post serves as a quick reference for markdown syntax that you can use in your blog posts.
# H1
## H2
### H3
#### H4
##### H5
###### H6
*italic* or _italic_
**bold** or __bold__
**_bold and italic_**
~~strikethrough~~
italic or italic
bold or bold
bold and italic
strikethrough
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
1. First item
2. Second item
3. Third item
- First item
- Second item
- Third item
[Link text](https://www.example.com)
[Link with title](https://www.example.com "Title")


`inline code`
```javascript
function example() {
console.log("Hello, world!");
}
```
> This is a blockquote
>
> It can span multiple lines
This is a blockquote
It can span multiple lines
---
| Header 1 | Header 2 | |----------|----------| | Cell 1 | Cell 2 | | Cell 3 | Cell 4 |
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
- [x] Completed task
- [ ] Incomplete task
- Completed task
- Incomplete task
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
Markdown makes it easy to format your content without having to write HTML. It's simple, readable, and powerful.