diff --git a/config/settings/base.py b/config/settings/base.py index 29390f5da..b7221310d 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -329,6 +329,10 @@ # WIDGETS # --------------------------------------- MACHINA_MARKUP_WIDGET = "lacommunaute.forum_conversation.widgets.MarkdownTextareaWidget" +MACHINA_MARKUP_LANGUAGE = ( + "machina.core.markdown.markdown", + {"safe_mode": True, "extras": {"break-on-newline": True, "code-friendly": True, "nofollow": True}}, +) # Django sites framework SITE_ID = 1