1
0
Fork 0

Merge pull request #102 from deining/contrib

Demo site: correct rendering of subscript, superscript and other raw html markup
This commit is contained in:
南小北 2022-02-14 00:09:31 +08:00 committed by GitHub
commit ddd21645f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -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]]