update demo posts
This commit is contained in:
@ -127,12 +127,12 @@ fi;
|
|||||||
|
|
||||||
### Specific filename
|
### Specific filename
|
||||||
|
|
||||||
```sass
|
```sass {file="_sass/jekyll-theme-chirpy.scss"}
|
||||||
@import
|
@import
|
||||||
"colors/light-typography",
|
"colors/light-typography",
|
||||||
"colors/dark-typography";
|
"colors/dark-typography";
|
||||||
```
|
```
|
||||||
{: file='_sass/jekyll-theme-chirpy.scss'}
|
|
||||||
|
|
||||||
## Mathematics
|
## 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} $$
|
$$ 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
|
## Images
|
||||||
|
|
||||||
### Default (with caption)
|
### Default (with caption)
|
||||||
|
@ -132,7 +132,7 @@ fi;
|
|||||||
"colors/light-typography",
|
"colors/light-typography",
|
||||||
"colors/dark-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} $$
|
$$ 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
|
|
||||||
```
|
|
||||||
|
|
||||||
## 图片
|
## 图片
|
||||||
|
|
||||||
### 默认(带标题)
|
### 默认(带标题)
|
||||||
|
Reference in New Issue
Block a user