From 683e880d5ef3057b151493e921c931a46a964b3d Mon Sep 17 00:00:00 2001 From: Colin <1580440944@qq.com> Date: Sat, 19 Dec 2020 02:31:59 +0800 Subject: [PATCH] fix missing pics. not delete html inside mds --- config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.toml b/config.toml index 6a196af..55bcbb5 100644 --- a/config.toml +++ b/config.toml @@ -5,6 +5,9 @@ defaultContentLanguageInSubdir = true theme = "hello-friend" paginate = 7 +[markup.goldmark.renderer] + unsafe= true #避免MarkDown内嵌的HTML被优化掉,尤其是Typora缩放过的图片 + [params] # dir name of your blog content (default is `content/posts`) contentTypeName = "posts"