Django CMS的一个插件,旨在用它的WYSIWYG编辑器替换标准文本插件。使用CMSPLUGIN标记,您可以使用Epic编辑器(HTTP://OsCARDUGSON.GITHUUBCOM/EPICEDCORNOR/)在标记中写入内容。
cmsplugin-markdown的Python项目详细描述
这是Django CMS的一个插件,旨在取代标准的文本插件 与它的所见即所得编辑器。使用cmsplugin标记,您可以编写内容 使用epiceditor(http://oscargodson.github.com/EpicEditor/)进行降价
安装
要使用此应用程序,您需要安装以下先决条件:
pip install Django pip install django-cms pip install Markdown pip install django-markwhat
如果要安装pypi的最新稳定版本:
$ pip install cmsplugin-markdown
如果您有冒险精神并希望安装来自github的最新提交:
$ pip install -e git://github.com/bitmazk/cmsplugin-markdown.git#egg=cmsplugin_markdown
将cmsplugin_markdown和django_markwhat添加到INSTALLED_APPS:
INSTALLED_APPS = ( ..., 'django_markwhat', 'cmsplugin_markdown', )
不要忘记迁移数据库:
./manage.py migrate cmsplugin_markdown
用法
只需转到django cms的页面管理员(或 cmsplugin blog)并向占位符中添加一个降价插件。应该很漂亮 非常不言而喻。
贡献
如果您想参与此项目,请执行以下步骤:
# Fork this repository # Clone your fork $ git co -b feature_branch master # Implement your feature and tests # Describe your change in the CHANGELOG.txt $ git add . && git commit $ git push origin feature_branch # Send us a pull request for your feature branch
路线图
查看github上的问题跟踪程序,以了解未来的里程碑和功能。
许可证
主要组件:
- epiceditor:[麻省理工学院许可证](https://github.com/OscarGodson/EpicEditor/blob/develop/LICENSE)
- 其他一切:[mit许可证](https://github.com/bitmazk/cmsplugin-markdown/blob/master/LICENSE)