add: added support for codefences highlight test

This commit is contained in:
Junyi Hou 2024-04-23 20:09:41 +08:00
parent 5fc27f5285
commit d9cb67008f
4 changed files with 188 additions and 2 deletions

View file

@ -145,9 +145,19 @@ category = "categories"
tag = "tags"
author = "authors"
[markup]
defaultMarkdownHandler = 'goldmark'
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
anchorLineNos = false
codeFences = true # tested with true and false. Both work.
noClasses = true # If you run with markup.highlight.noClasses=false in your site configuration, you need a style sheet.
style = 'base16-snazzy'
tabWidth = 4
[params.UmamiAnalytics]
enabled = true
dnt = false