Markdown Example

349 words
2 minutes

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.

Or

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:

Example Image

Common Markdown features like:

  • Lists
    • Nested lists
    • More nested lists
  • More lists
  • And more lists
  1. Numbered lists
  2. More numbered Lists
    • Nested lists
    • More nested lists
      1. Nested Numbered lists
  3. And more numbered lists
    1. Another nested numbered list
    2. 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.
```
markdown

formulas are also supported, inline formula like or block formula like:

Heading Level 3#

Other GitHub Flavored Markdown features include:

  • Task lists
  • More task lists
  • And more task lists

And tables:

Header 1Header 2
Row 1Row 1
Row 2Row 2
A looooooooooong rowA looooooooooong row
A very loooooooooooooooooooooooooooooooooooooooooooooooooong row

You can also add footnotes1 or reference links.

GitHub blockquote alerts is also supported:

note

Lorem ipsum dolor sit amet

With Title

Lorem ipsum dolor sit amet

Default Collapsed

Lorem ipsum dolor sit amet

Default Expanded

Lorem ipsum dolor sit amet

tip

Lorem ipsum dolor sit amet

success

Lorem ipsum dolor sit amet

question

Lorem ipsum dolor sit amet

warning

Lorem ipsum dolor sit amet

failure

Lorem ipsum dolor sit amet

danger

Lorem ipsum dolor sit amet

bug

Lorem ipsum dolor sit amet

example

Lorem ipsum dolor sit amet

quote

Lorem 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#

  1. This is a footnote.

Published At Author Lorem Ipsum License CC BY-NC-SA 4.0