diff --git a/source/css/_plugins/index.styl b/source/css/_plugins/index.styl index 9ffcf58..65f6466 100644 --- a/source/css/_plugins/index.styl +++ b/source/css/_plugins/index.styl @@ -16,6 +16,8 @@ if hexo-config('plugins.copycode.enable') if hexo-config('plugins.tianli_gpt.enable') @import 'tianli_gpt' +if hexo-config('plugins.katex.enable') + @import 'katex' // 评论 if hexo-config('comments.service') == 'beaudar' diff --git a/source/css/_plugins/katex.styl b/source/css/_plugins/katex.styl new file mode 100644 index 0000000..b8e6837 --- /dev/null +++ b/source/css/_plugins/katex.styl @@ -0,0 +1,3 @@ +.md-text p.katex-block + overflow: auto + scrollbar(0, 0) \ No newline at end of file