1
0
Fork 0

Allow rendering of subscript, superscript and other raw html markup

This commit is contained in:
Andreas Deininger 2022-02-11 18:12:08 +01:00
parent 7163749d25
commit 74e87565aa
2 changed files with 7 additions and 0 deletions

View file

@ -27,3 +27,4 @@ _testmain.go
/public /public
/themes /themes
.DS_Store .DS_Store
.hugo_build.lock

View file

@ -20,6 +20,12 @@ title = "Paper"
instagram = 'nan.xiaobei' instagram = 'nan.xiaobei'
# ------------------------------ # ------------------------------
# needed to render raw HTML (e.g. <sub>, <sup>, <kbd>, <mark>)
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[menu] [menu]
[[menu.main]] [[menu.main]]