How to enable markdown editor with preview

eric
Posted 1 year, 4 months ago in General, viewed 1979 times

To enable markdown editor with preview:

  1. run pip install django-pagedown
  2. Add pagedown to INSTALLED_APPS
  3. Add the following lines to settings.py
# Pagedown Editor
PAGEDOWN_WIDGET_CSS = ('pagedown/demo/browser/demo.css', "css/editor.css",)
PAGEDOWN_WIDGET_TEMPLATE = 'niji/widgets/pagedown.html'

    appendix 1 1 year, 4 months ago

    Markdown editor is not enabled for appendices.

    It's only a two liner, but I'm not sure if markdown syntax should be enabled for appendices.

    Any thoughts?

5 Replies
Leave a Reply
NIJI APP
NIJI is a forum app built with Django

General

General discussions about Django, Python, Nijiforum etc.