📖 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.
## Second-Level Heading
### Third-Level Heading
#### Fourth-Level Heading
##### Fifth-Level Heading
###### Sixth-Level Heading2. Text Formatting
Support bold, italic, strikethrough, and underline:
**Bold**
_Italic_
~~Strikethrough~~
<u>Underline</u>3. Blockquotes
Use > to create blockquotes:
> This is a blockquote.
>
> > This is a nested blockquote.4. Lists
Supports unordered lists (- or *) and ordered lists (1., 2., 3.):
- 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 item5. Code Blocks
Supports inline code, kbd keys, and multi-line code blocks:
TIP
- Code blocks support syntax highlighting for multiple languages, and you can click to copy the code.
<kbd>is used for displaying keyboard keys with a built-in icon.
`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
7. Links
Supports both internal and external hyperlinks:
[Visit SuzuBlog](https://www.zla.pub)8. Images
Supports inserting images using relative or absolute paths:
TIP
- A relative path is based on the
publicfolder. For example,/images/logo.pngrefers tologo.pnginside theimagesfolder underpublic. - External images must use absolute URLs starting with
https://.
9. Tables
Use | and - to create tables:
| Name | Release Date | Rating |
| ------- | ------------ | ---------- |
| Suzu | Nov 2024 | ⭐⭐⭐⭐⭐ |
| Next.js | Oct 2016 | ⭐⭐⭐⭐ |10. Emojis
Supports using Emoji symbols:
🎉 ✨ 🚀 📖 🔗 😊11. Mathematical Formulas (MathJax)
Supports LaTeX syntax for mathematical formulas:
$$
E = mc^2
$$12. Collapsible Details
Use <details> and <summary> to create collapsible content:
<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:
First line<br>Second line14. Checklists
Supports creating checklists with - [ ] or - [x]:
- [ ] 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! 🚀