markdown.converter的fanstic资源定义
js.markdown_converter的Python项目详细描述
简介
Fanstaticmarkdown.converter的资源定义。这个 Markdown.Converterobject接受用markdown编写的文本并返回 HTML。
要在wsgifanstaticresourced应用程序中使用,只需要 markdown_converter资源:
>>> from js.markdown_converter import markdown_converter >>> markdown_converter.need()
版权和许可
这只是从ipython的代码库中获取的js文件的打包。
包装的版权归美世公司所有。但是 markdown.convert.js拥有代码的版权:
Packaging of the Markdown.Converter.js taken from IPython's code base (c) 2013 Merchise Autrement This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.