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

github.com/alexandrevicenzi/soho.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2022-03-02 23:30:14 +0300
committerAndreas Deininger <andreas@deininger.net>2022-03-02 23:36:36 +0300
commitf00771feb103edd457a5cd74f9829c3a4f45097b (patch)
tree3afc3f7d7747a2ff1dd4a64c4e146ef9eba5ddb4
parent32d39a31c779bdced0941f21b3faf13ea13be5c5 (diff)
Example site: correct rendering of subscript, superscript and other raw html markup
-rw-r--r--exampleSite/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 68fb16e..48c4368 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -95,3 +95,9 @@ series = "series"
[services.twitter]
disableInlineCSS = true
+
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ # needed to render raw HTML (e.g. <sub>, <sup>, <kbd>, <mark>)
+ unsafe = true