我正在阅读http://github.github.com/github-flavored-markdown/
我想在PHP Markdown中实现"Newline修改":
我能想到的最好的是:
$my_html = Markdown($my_text); $my_html = preg_replace("/\n{1}/", "<br/>", $my_html);
但这非常难以置信.
php markdown newline
markdown ×1
newline ×1
php ×1