php有没有把html生成markdown格式的txt?
http://git.oschina.net/shooke/corephp2/blob/master/CorePHP/ext/Markdow...
好东西
http://git.oschina.net/shooke/corephp2/blob/master/CorePHP/ext/Markdown.class.php
看着,php实现的可以实现md与html相互转化
你可以尝试这个扩展
http://michelf.ca/projects/php-markdo...
注意并非所有的html tag都会支持,请仔细阅读文档确认它可以满足你的需求。
I have three words for you:
Dont try this