From 20454e5a57397a8dfe9d6e02ff14eeb96f573feb Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 13 Sep 2021 22:26:17 +0800 Subject: [PATCH] Add the feature of hiding line numbers --- _sass/addon/syntax.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index eda2e50..0efddb6 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -152,7 +152,8 @@ div { &[class^='highlighter-rouge'], &.language-plaintext.highlighter-rouge, &.language-console.highlighter-rouge, - &.language-terminal.highlighter-rouge { + &.language-terminal.highlighter-rouge, + &.nolineno { pre.lineno { display: none; }