Markdown Plugin for Typecho
This is a markdown parse plugin.
It uses Parsedown to replace Typecho's own markdown parse library, and supports [TOC]
syntax to generate table of contents, supports $
and $$
syntax for MathJax, supports mermaid
syntax for Mermaid. All resources are loaded on demand, doing more with less.
Installation
- Download the plugin
- Rename the folder name "MarkdownParse"
- Enable this plugin
Reporting issues
You can create an issue
Example
https://www.chengxiaobai.cn/record/markdown-concise-grammar-manual.html
Blog
https://www.chengxiaobai.cn/php/markdown-parser-library.html
这是一个 Markdown 解析插件,用 Parsedown 替换 Typecho 自带的 Markdown 解析库,并额外支持 [TOC]
语法来生成目录,同时支持 MathJax 来渲染数学公式,也支持 Mermaid 生成各种图表。根据实际渲染需求,智能识别是否加载渲染资源,无需再担心引入冗余资源。
安装
- 下载这个插件
- 修改文件夹的名字为"MarkdownParse"
- 添加到你的项目中并启用它
报告问题
语法示例
https://www.chengxiaobai.cn/record/markdown-concise-grammar-manual.html
我的博客
https://www.chengxiaobai.cn/php/markdown-parser-library.html