diff --git a/config.toml b/config.toml index 1c3b9b07cddb6a0d466544c59278d36af6c9e8d6..4216d9c23f5a55c898d501f78d4fb5695ed2e7b3 100644 --- a/config.toml +++ b/config.toml @@ -84,3 +84,12 @@ languageCode = "en-us" [mediaTypes] [mediaTypes."html/pdf-in"] suffixes = ["pdf-in"] + +# By default Goldmark does not render raw HTMLs and potentially dangerous +# links. As we have HTML tables in places (that can't readily be implemented +# in pure Markdown due to large cells with complex content) and can be sure +# of the content being rendered, switch "unsafe" on to allow these HTML +# elements to be created. +[markup] + [markup.goldmark.renderer] + unsafe = true