From 00ebac7552390a515654365e73b8fc6da2278973 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Tue, 8 Mar 2022 14:47:49 -0800 Subject: [PATCH] doc: add markdown plugin to whole theme configuration --- _config.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/_config.yml b/_config.yml index cb593d9..e696cf6 100644 --- a/_config.yml +++ b/_config.yml @@ -140,15 +140,13 @@ tag_plugins: issues: https://cdn.jsdelivr.net/npm/hexo-theme-volantis@latest/source/js/issues.min.js #issues标签依赖 iconfont: https://at.alicdn.com/t/font_2032782_8d5kxvn09md.js #参看https://akilar.top/posts/d2ebecef/ -kramed: - gfm: true - pedantic: false - sanitize: false - tables: true - breaks: true - smartLists: true - smartypants: true - +markdown: + plugins: + - plugin: + name: '@neilsustc/markdown-it-katex' + options: + strict: false + # Envelope Comment envelope_comment: enable: true #开关