use pygments for code fencing

This commit is contained in:
Greg Gauthier 2021-04-10 11:05:55 +01:00
parent cbc44c1fa4
commit 2b20798853
1 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,10 @@ copyright = "© 2021. All rights reserved."
canonifyurls = true canonifyurls = true
paginate = 10 paginate = 10
PygmentsCodeFences = true
PygmentsStyle = "tango"
[indexes] [indexes]
tag = "tags" tag = "tags"
topic = "topics" topic = "topics"
@ -56,6 +60,3 @@ paginate = 10
[markup] [markup]
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe= true unsafe= true
PygmentsCodeFences = true
PygmentsStyle = "tango"