update demo posts

This commit is contained in:
geekifan
2025-04-28 18:11:50 +08:00
parent 4d6af29e3e
commit 9265fe26b2
2 changed files with 3 additions and 23 deletions

View File

@ -127,12 +127,12 @@ fi;
### Specific filename
```sass
```sass {file="_sass/jekyll-theme-chirpy.scss"}
@import
"colors/light-typography",
"colors/dark-typography";
```
{: file='_sass/jekyll-theme-chirpy.scss'}
## Mathematics
@ -151,16 +151,6 @@ When $a \ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$
## Mermaid SVG
```mermaid
gantt
title Adding GANTT diagram functionality to mermaid
apple :a, 2017-07-20, 1w
banana :crit, b, 2017-07-23, 1d
cherry :active, c, after b a, 1d
```
## Images
### Default (with caption)

View File

@ -132,7 +132,7 @@ fi;
"colors/light-typography",
"colors/dark-typography";
```
{: file='_sass/jekyll-theme-chirpy.scss'}
{file="_sass/jekyll-theme-chirpy.scss"}
## 数学公式
@ -151,16 +151,6 @@ $$
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$
## Mermaid SVG
```mermaid
gantt
title 为mermaid添加甘特图功能
apple :a, 2017-07-20, 1w
banana :crit, b, 2017-07-23, 1d
cherry :active, c, after b a, 1d
```
## 图片
### 默认(带标题)