From e13f4e6c2771cca6ccdbca6481e6853a9498917f Mon Sep 17 00:00:00 2001 From: "Joway.CI" Date: Fri, 22 Jan 2021 05:59:31 +0000 Subject: force code background --- README.md | 16 ---------------- static/css/index.css | 3 ++- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 76ac66d..c473f0b 100644 --- a/README.md +++ b/README.md @@ -31,22 +31,6 @@ theme = "yinyang" ## Configuration -### Makrup for hightlight and markdown - -``` -[markup] - [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true - [markup.highlight] - guessSyntax = true - noClasses = true - style = "bw" - tabWidth = 2 -``` - -Hightlight style "bw" is a black-white hightlight theme, which is recommended for this project. - ### Head Title ``` diff --git a/static/css/index.css b/static/css/index.css index 110e4d8..7721e20 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -32,8 +32,9 @@ a:hover { } .markdown-body pre { - /* padding: 16px; */ + padding: 16px; overflow: auto; + background-color: #f6f8fa !important; } /* i18n */ -- cgit v1.2.3