From 74e87565aadf7727c4cf0c0f582ac473613f1282 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Fri, 11 Feb 2022 18:12:08 +0100 Subject: [PATCH] Allow rendering of subscript, superscript and other raw html markup --- exampleSite/.gitignore | 1 + exampleSite/config.toml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore index 62fc17f..66500fd 100644 --- a/exampleSite/.gitignore +++ b/exampleSite/.gitignore @@ -27,3 +27,4 @@ _testmain.go /public /themes .DS_Store +.hugo_build.lock \ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml index da194ab..428a939 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -20,6 +20,12 @@ title = "Paper" instagram = 'nan.xiaobei' # ------------------------------ +# needed to render raw HTML (e.g. , , , ) +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [menu] [[menu.main]]