Skip to content

๐Ÿ“– SuzuBlog Supported Markdown Syntax Guide โ€‹

SuzuBlog uses Markdown for article writing and supports various extended syntaxes to enhance the readability and expressiveness of articles. Here are the Markdown syntaxes we support and examples:

1. Headings โ€‹

Use # to indicate different levels of headings:

WARNING

Please note: Heading level 1 # will be used for the article title, do not use heading level 1 in the article body.

markdown
## Second-Level Heading

### Third-Level Heading

#### Fourth-Level Heading

##### Fifth-Level Heading

###### Sixth-Level Heading

2. Text Formatting โ€‹

Support bold, italic, strikethrough, and underline:

markdown
**Bold**
_Italic_
~~Strikethrough~~
<u>Underline</u>

3. Blockquotes โ€‹

Use > to create blockquotes:

markdown
> This is a blockquote.
>
> > This is a nested blockquote.

4. Lists โ€‹

Supports unordered lists (- or *) and ordered lists (1., 2., 3.):

markdown
- Unordered item 1
- Unordered item 2
  - Nested item 1
  - Nested item 2

1. Ordered item 1
2. Ordered item 2
   1. Nested ordered item
   2. Nested ordered item

5. Code Blocks โ€‹

Supports inline code, kbd keys, and multi-line code blocks:

TIP

  1. Code blocks support syntax highlighting for multiple languages, and you can click to copy the code.
  2. <kbd> is used for displaying keyboard keys with a built-in icon.
markdown
`Inline code example`

<kbd>Ctrl</kbd> + <kbd>C</kbd>

```python
# Python code block example
def hello():
    print("Hello, SuzuBlog!")
```

6. Horizontal Rule โ€‹

Use --- to create a horizontal rule:

markdown

Supports both internal and external hyperlinks:

markdown
[Visit SuzuBlog](https://www.zla.pub)

8. Images โ€‹

Supports inserting images using relative or absolute paths:

TIP

  1. A relative path is based on the public folder. For example, /images/logo.png refers to logo.png inside the images folder under public.
  2. External images must use absolute URLs starting with https://.
markdown
![SuzuBlog Logo](/images/logo.png)

9. Tables โ€‹

Use | and - to create tables:

markdown
| Name    | Release Date | Rating     |
| ------- | ------------ | ---------- |
| Suzu    | Nov 2024     | โญโญโญโญโญ |
| Next.js | Oct 2016     | โญโญโญโญ   |

10. Emojis โ€‹

Supports using Emoji symbols:

markdown
๐ŸŽ‰ โœจ ๐Ÿš€ ๐Ÿ“– ๐Ÿ”— ๐Ÿ˜Š

11. Mathematical Formulas (MathJax) โ€‹

Supports LaTeX syntax for mathematical formulas:

markdown
$$
E = mc^2
$$

12. Collapsible Details โ€‹

Use <details> and <summary> to create collapsible content:

markdown
<details>
<summary>Click to view details</summary>

This is the hidden content.

</details>

13. Line Breaks โ€‹

Use <br> or two spaces followed by Enter to insert a line break:

markdown
First line<br>Second line

14. Checklists โ€‹

Supports creating checklists with - [ ] or - [x]:

markdown
- [ ] Unchecked item
- [x] Checked item

๐Ÿš€ Conclusion โ€‹

These are the Markdown syntax features supported by SuzuBlog. You can use them to write rich and well-structured articles, making your blog content more engaging and readable! ๐Ÿ“–โœจ

If you have any questions or suggestions (such as additional syntax support or styling issues), feel free to open an issue on GitHub! ๐Ÿš€

This docs Licensed under CC BY 4.0