如何将markdown转换为html(我应该使用现有的脚本)吗? [英] How can I convert markdown to html (should i use an existing script)?
本文介绍了如何将markdown转换为html(我应该使用现有的脚本)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从markdown转换为html的最佳方法是什么.我应该写自己的脚本来使用已经存在的东西吗?
What is the best way to convert from markdown to html. Should i write my own script of use something already out there?
您可以推荐任何现有的降价转换器吗?轻巧且易于安装.
Are there any existing markdown converters you can recommend? that are lightweight and easy to install.
n.b.我正在使用php.
n.b. I am using php.
推荐答案
我认为您应该首先尝试开源,然后,如果现有解决方案不适合您的需求,请尝试对其进行修改或自行开发.
I think you should try something opensource first, then if the existing solutions don't fit your needs either try modifying them or rolling your own.
Parsedown看起来很有希望: http://parsedown.org/
Parsedown looks rather promising: http://parsedown.org/
这篇关于如何将markdown转换为html(我应该使用现有的脚本)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文