From d3e37b310da365576c34a38dd296d36e92852359 Mon Sep 17 00:00:00 2001 From: pan93412 Date: Mon, 15 Aug 2022 20:09:37 +0800 Subject: [PATCH] Add Rust & Rename TypeScript to TS (#111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(highlight): Add 'rs' alias * chore(highlight): TypeScript → TS --- source/css/_common/highlight.styl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/css/_common/highlight.styl b/source/css/_common/highlight.styl index dbbe6d6..2c33c5c 100644 --- a/source/css/_common/highlight.styl +++ b/source/css/_common/highlight.styl @@ -144,7 +144,7 @@ article.md .highlight content: "Python" &.php .code:before content: "PHP" - &.rust .code:before + &.rust .code:before,&.rs .code:before content: "Rust" &.sql .code:before content: "SQL" @@ -154,8 +154,8 @@ article.md .highlight content: "Makefile" &.go .code:before content: "Go" - &.typescript .code:before - content: "TypeScript" + &.typescript .code:before,&.ts .code:before + content: "TS"