Here is an example of a Markdown blog post.
Heading Level 1 (I suggest not to use this level)#
Heading Level 1 is reserved for the post title, so you should start with Heading Level 2.
You can uncomment import remarkHeadingShift from './src/plugins/remark-heading-shift.mjs';
to the top of astro.config.mjs
and then uncomment the first line of the remarkPlugins
array. After that, you can use Heading Level 1 as a regular heading in your blog posts.
Heading Level 2#
You can use GitHub Flavored Markdown to format your blog posts. For example, you can use bold, italic and strikethrough text, create a link or just write a raw URL like https://example.com, and add images:
Common Markdown features like:
- Lists
- Nested lists
- More nested lists
- More lists
- And more lists
- Numbered lists
- More numbered Lists
- Nested lists
- More nested lists
- Nested Numbered lists
- And more numbered lists
- Another nested numbered list
- More nested numbered lists
Or a blockquote.
You can use `
to create code line like this
, or
```markdown
use triple backticks to create code blocks.
```
Heading Level 3#
Other GitHub Flavored Markdown features include:
- Task lists
- More task lists
- And more task lists
And tables:
Header 1 | Header 2 |
---|---|
Row 1 | Row 1 |
Row 2 | Row 2 |
A looooooooooong row | A looooooooooong row |
A very loooooooooooooooooooooooooooooooooooooooooooooooooong row |
You can also add footnotes1 or reference links.
GitHub blockquote alerts is also supported:
noteLorem ipsum dolor sit amet
With TitleLorem ipsum dolor sit amet
Default CollapsedLorem ipsum dolor sit amet
Default ExpandedLorem ipsum dolor sit amet
tipLorem ipsum dolor sit amet
successLorem ipsum dolor sit amet
questionLorem ipsum dolor sit amet
warningLorem ipsum dolor sit amet
failureLorem ipsum dolor sit amet
dangerLorem ipsum dolor sit amet
bugLorem ipsum dolor sit amet
exampleLorem ipsum dolor sit amet
quoteLorem ipsum dolor sit amet
And that’s it!
I Think You Want to Have a Look at Heading Level 4#
Bidirectional article links are also supported, you can use [[slug]]
to create a link to another article like create custom page or manual
Too Many Nested Headings is Not a Good Idea, but Here is Heading Level 5#
Heading Level 6 is the Last One, Why You Want to Use This?#
Footnotes#
-
This is a footnote. ↩