youBBS如果支持markdown就好了
By yltian
at 2014-02-09 11:39 • 2123次点击
Google 一下,php markdown 前两个是 http://michelf.ca/projects/php-markdown/ http://parsedown.org/ 目前youbbs 自定义的格式与markdown 不兼容,若只想支持markdown 则只需把set_content 的内容改为
// 用 http://parsedown.org/
return Parsedown::instance()->parse($text);
youbbs at 2014-02-09 20:43
1
请 登录 后发表评论