Markdown

# Standard markdown

Gendocs uses markdown. The markdown gets parsed to html which then gets shown when you visit the site.

Any HTML written in the markdown files gets left alone and will be displayed on the site.

# Headers

markdown
# This is a title
## This is a subtitle
### This is a subtitle of a subtitle

# Emphasis

markdown
*italic text*

**bold text**

# Unordered Lists

markdown
- item 1
- item 2
- item 3
- item 4

# Ordered Lists

markdown
1. item 1
2. item 2
3. item 3
4. item 4

# Sub lists

markdown
1. item 1
  1. Sub item 1
  2. Sub item 1
2. item 2
3. item 3
4. item 4

# Code Blocks

We have code formatting for over 200 languages.

markdown
\`\`\`javascript
function yourCodeHere() {
  console.log('Hello Gendocs!')
}
\`\`\`

# Inline code

markdown
Some inline code \`if you\` will
markdown
[Link text](https://google.com)
markdown
[Link to other file](./some_file.md)

# Images

markdown
[Alt text](https://picsum.photos/200/300)

# Upload Images

markdown
[Alt text](./assets/myImage.jpg)

# HTML

You can add raw HTML anywhere in your docs

html
<div style="text-align: center">
  Some centered text
</div>

# Javascript

You can add Javascript anywhere in your docs

html
<script>
  console.log('Docs loaded!')
</script>

# Tables

markdown
| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |    centered   |   $12 |
| col 3 is | right-aligned |    $1 |

# Block quotes

markdown
> Some block quote