From 9265fe26b2a1b7cbbaa74f99f1cc4be840c4f882 Mon Sep 17 00:00:00 2001 From: geekifan Date: Mon, 28 Apr 2025 18:11:50 +0800 Subject: [PATCH] update demo posts --- .../2019-08-08-text-and-typography/index.en.md | 14 ++------------ .../2019-08-08-text-and-typography/index.zh-CN.md | 12 +----------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/content/post/2019-08-08-text-and-typography/index.en.md b/content/post/2019-08-08-text-and-typography/index.en.md index af2ff78..ae7e022 100644 --- a/content/post/2019-08-08-text-and-typography/index.en.md +++ b/content/post/2019-08-08-text-and-typography/index.en.md @@ -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) diff --git a/content/post/2019-08-08-text-and-typography/index.zh-CN.md b/content/post/2019-08-08-text-and-typography/index.zh-CN.md index 924ba7e..c21b28d 100644 --- a/content/post/2019-08-08-text-and-typography/index.zh-CN.md +++ b/content/post/2019-08-08-text-and-typography/index.zh-CN.md @@ -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 -``` - ## 图片 ### 默认(带标题)