From b51fedfb2db45b9e16cf2344c1dd16ec5ad5e71d Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 24 Dec 2021 01:40:40 +0800 Subject: [PATCH] Support codeblock mark option --- source/css/_common/scaffolding/highlight/index.styl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/css/_common/scaffolding/highlight/index.styl b/source/css/_common/scaffolding/highlight/index.styl index 250067a..3c3c6e9 100644 --- a/source/css/_common/scaffolding/highlight/index.styl +++ b/source/css/_common/scaffolding/highlight/index.styl @@ -109,6 +109,11 @@ figure.highlight { padding-left: 10px; width: 100%; } + + // See https://github.com/next-theme/hexo-theme-next/discussions/410 + .marked { + background: rgba(0, 0, 0, .3); + } } // See https://github.com/hexojs/hexo-util/pull/229