使用Parsedown替换Typecho自带的Markdown解析库。启用前请将目录名重命名为Parsedown。
kokororin / typecho-plugin-parsedown Goto Github PK
View Code? Open in Web Editor NEWTypecho Parsedown 解析markdown插件
Typecho Parsedown 解析markdown插件
使用Parsedown替换Typecho自带的Markdown解析库。启用前请将目录名重命名为Parsedown。
启用插件之后,出现如下的错误
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /data/home/qxu1539930012/htdocs/usr/plugins/Parsedown/Parsedown.php on line 1479
[TOC]无法渲染,遗憾。
RT
这个md解释器非常好用,但是不支持脚注。
如,我写一个[^1]
[^1]: 这是一个脚注,不能识别啊
谢谢
我意思 是,我可以自己来替换吗?谢谢
markdown中需要转义的字符应该只有以下,其他的html可直接写。默认的手写截断符<!--more-->
也被转义成了<!--more-->
请问怎么修改才能正确显示?
Markdown中的转义字符为\,转义的有:
\ 反斜杠
` 反引号
- 星号
_ 下划线
{} 大括号
[] 中括号
() 小括号井号
- 加号
- 减号
. 英文句号
! 感叹号
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.