Markdown demo
This is a demo of markdown render result.
Headings 2
Headings 3
Headings 4
Headings 5
Image
Lists
List with "-"
- Never
- Never gonna
- Give you
- Up
- What is love?
- Baby don't hurt me
- no more
List with "*"
- Never
- Never gonna
- Give you
- Up
- What is love?
- Baby don't hurt me
- no more
List with "+"
- Never
- Never gonna
- Give you
- Up
- What is love?
- Baby don't hurt me
- no more
Ordered list
- Never gonna
- Give you
- Up
With indent (Broken, I think)
- What is love?
- Baby don't hurt me
- no more
Link
Links are converted to next/link
This link connects to the index page.
Sections is not implemented, yet.
Code
You can use InlineCode()
.
Or a code block with highlighted text.
export async function getStaticPaths() { const pathCategory = path.join(process.cwd(), "content"); const categories = fs.readdirSync(pathCategory); let paths = []; categories.map((category) => { const articles = fs.readdirSync(path.join(pathCategory, category)); articles.map((article) => { paths.push({ params: { article, category, }, }); }); }); return { paths, fallback: false, }; }
It automatically detects the languadge, but you really should specify it yourself.
Horizontal Line
Table
Lawful | Neutral | Chaotic | |
---|---|---|---|
Good | Lawful Good | Neutral Good | Chaotic Good |
Neutral | Lawful Neutral | True Neutral | Chaotic Neutral |
Evil | Lawful Evil | Neutral Evil | Chaotic Evil |
Checkbox
- Buy eggs
- Buy milk
- Buy toothbrush
These are not aligned properly
Blockquotes
This is a blockquote.
This is a blockquote inside a blockquote.
you can even use header here