更换了 Markdown Parser
Markdown 有好几种变种:
- The original Markdown 见 http://daringfireball.net/projects/markdow... (try it!).
- Github flavored Markdown 见 https://help.github.com/articles/github-fl... (try it!).
- Markdown Extra 见 http://michelf.ca/projects/php-markdown/ex... (try it!)
- Parsedown Extra 见 https://github.com/erusev/parsedown-extra (try it!)
之前 PHPHub 使用的是 http://michelf.ca/projects/php-markdown/ex... , 发现无法直接解析链接, 发现无法使用 删除线 .
花了点时间换为: Parsedown Extra , 整个人舒服了很多. :beer: 欢迎大家尝试, 发现 BUG.
粗体、删除线、单行代码
更新于 10 月 12 号中午:
发现 Parsedown Extra 会把 如
: + 1 :
修改为+1:
, 导致 emoji 无法显示, 再一次修改 Markdown 解析器为 erusev/parsedown , 见 commit again, switching markdown parser to using erusev/parsedown, for parsedown-extra is messing with emoji
本帖已被设为精华帖!
本帖由系统于 7年前 自动加精
推荐文章: