Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Deininger <adeininger@urbanonline.de>2022-03-02 18:48:20 +0300
committerAndreas Deininger <adeininger@urbanonline.de>2022-03-02 18:48:20 +0300
commit6f68fb59311a1a0481e428074656d95db65a8382 (patch)
tree3f6f2702be8049d9be238c7e2bfd989801a76fc2
parentc53a83e130f93156268c6aebd7394277cbb0d937 (diff)
Example site: correct rendering of subscript, superscript and other raw html markup
-rw-r--r--exampleSite/.gitignore1
-rw-r--r--exampleSite/config.yaml4
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: