Allow rendering of subscript, superscript and other raw html markup
This commit is contained in:
parent
7163749d25
commit
74e87565aa
2 changed files with 7 additions and 0 deletions
1
exampleSite/.gitignore
vendored
1
exampleSite/.gitignore
vendored
|
@ -27,3 +27,4 @@ _testmain.go
|
|||
/public
|
||||
/themes
|
||||
.DS_Store
|
||||
.hugo_build.lock
|
|
@ -20,6 +20,12 @@ title = "Paper"
|
|||
instagram = 'nan.xiaobei'
|
||||
# ------------------------------
|
||||
|
||||
# needed to render raw HTML (e.g. <sub>, <sup>, <kbd>, <mark>)
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[menu]
|
||||
|
||||
[[menu.main]]
|
||||
|
|
Loading…
Reference in a new issue