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

github.com/koirand/pulp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoirand <koirand.jp@gmail.com>2020-03-23 10:46:23 +0300
committerkoirand <koirand.jp@gmail.com>2020-03-23 10:46:23 +0300
commitd943d656f880ed2def73c32b25ec7e937d02bee8 (patch)
tree4761487fd4019d641062eb71995821804cead573
parentb31716c55d6743fe85532dd512b3e2a00b2456f7 (diff)
Allow user HTML tags
-rw-r--r--.editorconfig2
-rw-r--r--exampleSite/config.toml3
2 files changed, 4 insertions, 1 deletions
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"