From d943d656f880ed2def73c32b25ec7e937d02bee8 Mon Sep 17 00:00:00 2001 From: koirand Date: Mon, 23 Mar 2020 16:46:23 +0900 Subject: [PATCH] Allow user HTML tags --- .editorconfig | 2 +- exampleSite/config.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index a16c3fe..57a6b3a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,6 @@ trim_trailing_whitespace = true indent_style = space indent_size = 2 -[*.md] +[*.md,*.toml] trim_trailing_whitespace = false indent_size = 4 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f54c921..895986e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,6 +7,9 @@ hasCJKLanguage = true # pygmentsUseClasses = true # googleAnalytics = "{your tracking code}" +[markup.goldmark.renderer] + unsafe = true # Allow user HTML tags + [params] author = "Your Name" avatar = "avatar.jpg"