How to enable markdown editor with preview
To enable markdown editor with preview:
- run
pip install django-pagedown
- Add
pagedown
toINSTALLED_APPS
- 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'
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?
37 Replies
Leave a Reply
Please Login or Create a New User to reply