How do i convert WMD markdown syntax to HTML on my site?

穿精又带淫゛_ 提交于 2019-12-03 17:32:31

Check out the markup add-on which comes with Django. That is what you are looking for.

To activate these filters, add 'django.contrib.markup' to your INSTALLED_APPS setting. Once you’ve done that, use {% load markup %} in a template, and you’ll have access to these filters. For more documentation, read the source code in django/contrib/markup/templatetags/markup.py.

Also check out this article for some more details if you're still stuck.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!