Understanding Chirpy Post Features
The Chirpy theme provides a lot of built-in features that make your blog posts interactive and visually appealing. Here are some of the most useful ones:
1. Pinned Posts
By adding pin: true to the front matter, this post will stay at the top of your homepage list.
2. Mermaid Diagrams
Chirpy supports Mermaid out of the box. Just set mermaid: true and use a code block:
graph TD
A[Start] --> B{Is it working?}
B -- Yes --> C[Great!]
B -- No --> D[Check config]
3. Mathematical Expressions
With math: true, you can render LaTeX formulas like this:
Or inline like $a^2 + b^2 = c^2$.
4. Prompt Boxes (Admonitions)
Chirpy provides beautiful custom boxes to highlight information:
[!TIP] This is a helpful tip to improve your workflow.
[!WARNING] Be careful with this configuration!
[!IMPORTANT] This is a critical piece of information you shouldn’t miss.
5. Footnotes
You can easily add footnotes to your text1.
6. Task Lists
- Create a blog
- Install Chirpy theme
- Write 100 posts
-
This is the footnote content. ↩
This post is licensed under CC BY 4.0 by the author.