From 4c54e7a4258eed674c7434c8843c76d1d48bca0b Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Sat, 13 Jun 2020 19:32:10 +0300 Subject: [PATCH] Enable html render for example sites and updated config example in README #40 --- README.md | 5 +++++ exampleSite/config.toml | 3 +++ exampleSiteMultilingual/config.toml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 4176e74..a5f7f0a 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,11 @@ params: - css/my.css # relative path to "static" directory dateFormat: "2006-01-02" paginationSinglePost: true + +markup: + goldmark: + renderer: + unsafe: true # enable raw HTML in Markdown ``` ### Check your site diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 13f6075..8ccca3d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -37,3 +37,6 @@ googleAnalytics = "" [taxonomies] category = "categories" tag = "tags" + +[markup.goldmark.renderer] +unsafe = true \ No newline at end of file diff --git a/exampleSiteMultilingual/config.toml b/exampleSiteMultilingual/config.toml index edfa63c..5d164d6 100644 --- a/exampleSiteMultilingual/config.toml +++ b/exampleSiteMultilingual/config.toml @@ -60,3 +60,6 @@ googleAnalytics = "" [taxonomies] category = "categories" tag = "tags" + +[markup.goldmark.renderer] +unsafe = true \ No newline at end of file