diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-15 00:55:41 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-15 00:55:41 +0800 |
| commit | 33c1ba12e22ec939cd4c85186c243b6617a28527 (patch) | |
| tree | e08a98331141711727c94ca47653853ecde34872 /exampleSite/config.yml | |
| parent | 60380fe684fb6db6c75ce9f4863f1047e6566649 (diff) | |
use hugo's builtin Chroma for code highlight
Diffstat (limited to 'exampleSite/config.yml')
| -rw-r--r-- | exampleSite/config.yml | 13 |
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: |
