diff options
author | Andreas Deininger <adeininger@urbanonline.de> | 2022-03-02 18:48:20 +0300 |
---|---|---|
committer | Andreas Deininger <adeininger@urbanonline.de> | 2022-03-02 18:48:20 +0300 |
commit | 6f68fb59311a1a0481e428074656d95db65a8382 (patch) | |
tree | 3f6f2702be8049d9be238c7e2bfd989801a76fc2 | |
parent | c53a83e130f93156268c6aebd7394277cbb0d937 (diff) |
Example site: correct rendering of subscript, superscript and other raw html markup
-rw-r--r-- | exampleSite/.gitignore | 1 | ||||
-rw-r--r-- | exampleSite/config.yaml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore index ca4d540..bbcf343 100644 --- a/exampleSite/.gitignore +++ b/exampleSite/.gitignore @@ -25,3 +25,4 @@ _testmain.go /public /themes .DS_Store +.hugo_build.lock diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 11fed98..63972dc 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -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: |