summaryrefslogtreecommitdiff
path: root/exampleSite/config.yml
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
committerReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
commit33c1ba12e22ec939cd4c85186c243b6617a28527 (patch)
treee08a98331141711727c94ca47653853ecde34872 /exampleSite/config.yml
parent60380fe684fb6db6c75ce9f4863f1047e6566649 (diff)
use hugo's builtin Chroma for code highlight
Diffstat (limited to 'exampleSite/config.yml')
-rw-r--r--exampleSite/config.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 78d5639..f68212b 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -11,7 +11,6 @@ buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
-pygmentsUseClasses: true
# googleAnalytics: UA-123-45
minify:
@@ -94,6 +93,7 @@ params:
mainSections:
- docs
- posts
+ disableAnchoredHeadings: true
defaultTheme: auto
# disableThemeToggle: true
@@ -188,13 +188,10 @@ markup:
goldmark:
renderer:
unsafe: true
-# highlight:
-# # anchorLineNos: true
-# codeFences: true
-# guessSyntax: true
-# lineNos: true
-# # noClasses: false
-# style: monokai
+ highlight:
+ style: dracula
+ lineNos: true
+ noClasses: false
privacy:
vimeo: