Skip to content

Commit

Permalink
Merge pull request nodejh#120 from deining/rendering
Browse files Browse the repository at this point in the history
Example site: correct rendering of subscript, superscript and other raw html markup
  • Loading branch information
nodejh authored Mar 3, 2022
2 parents c53a83e + 6f68fb5 commit a96eb75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions exampleSite/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ _testmain.go
/public
/themes
.DS_Store
.hugo_build.lock
4 changes: 4 additions & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ markup:
endLevel: 3
ordered: false
startLevel: 2
# needed to render raw HTML (e.g. <sub>, <sup>, <kbd>, <mark>)
goldmark:
renderer:
unsafe: true

# Social links in footer, support github,twitter,stackoverflow,facebook
social:
Expand Down

0 comments on commit a96eb75

Please sign in to comment.