Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-config.toml')
-rw-r--r--dev-config.toml23
1 files changed, 17 insertions, 6 deletions
diff --git a/dev-config.toml b/dev-config.toml
index 3018eb3..95f97aa 100644
--- a/dev-config.toml
+++ b/dev-config.toml
@@ -17,12 +17,6 @@ copyright = "" # default: author.name ↓ # 默认为下面配
enableGitInfo = true # use git commit log to generate lastmod record # 可根据 Git 中的提交生成最近更新记录。
# uglyURLs = true
-# Highlight options. See https://gohugo.io/content-management/syntax-highlighting/
-pygmentsCodeFences = true # Enable syntax highlighting with GitHub flavoured code fences
-pygmentsUseClasses = true # Use CSS classes to format highlighted code
-pygmentsCodefencesGuessSyntax = true
-pygmentsOptions = "linenos=table"
-
# language support en / zh-cn / other... translations present in i18n/
defaultContentLanguage = "en" # Default language to use (if you setup multilingual support)
[langusges]
@@ -208,3 +202,20 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
q-bilibili = "http://en.xianmin.org/hugo-theme-jane/"
r-codeforces = "http://en.xianmin.org/hugo-theme-jane/"
s-mastodon = "http://en.xianmin.org/hugo-theme-jane/"
+
+# Highlight options. See https://gohugo.io/content-management/syntax-highlighting/
+[markup]
+ [markup.highlight]
+ anchorLineNos = true
+ codeFences = true
+ guessSyntax = false
+ hl_Lines = ''
+ hl_inline = false
+ lineAnchors = ''
+ lineNoStart = 1
+ lineNos = true
+ lineNumbersInTable = true
+ noClasses = true
+ noHl = false
+ style = 'friendly'
+ tabWidth = 4