django-machina
django-machina copied to clipboard
Quote don't work
Hi guys !
Firstly thx for your great work !
Secondly I add Django-machina to my website but when a user want to quote a message, it works well when he is typing a message but don't work when post is displayed.
Do I need some js/npm or maybe I miss something in the documentation
Best regard,
Flave.
@FlavienRx , I ran into something similar, although perhaps not identical. Code blocks worked when typing, but weren't displayed. The solution was fenced-code-blocks:
MACHINA_MARKUP_LANGUAGE = ('markdown2.markdown', {'safe_mode': True, 'extras': {'break-on-newline': True, 'fenced-code-blocks': None}})
(in the setting above, "None" is just a placeholder, because the dict key is what matters)
https://github.com/trentm/python-markdown2/wiki/Extras https://github.com/trentm/python-markdown2/wiki/fenced-code-blocks