From 3c3ad875a49b70a05340cbbac104f4754afc0523 Mon Sep 17 00:00:00 2001 From: Jens Kadenbach Date: Tue, 24 Sep 2019 10:12:28 +0200 Subject: [PATCH] Add truly-sane-lists md extension --- config/settings/base.py | 2 +- requirements/base.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/settings/base.py b/config/settings/base.py index 24c4077..a7d9a5f 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -276,9 +276,9 @@ MARKDOWNX_MARKDOWN_EXTENSIONS = [ 'markdown.extensions.admonition', 'markdown.extensions.codehilite', 'markdown.extensions.meta', - 'markdown.extensions.sane_lists', 'markdown.extensions.smarty', 'markdown.extensions.toc', 'markdown.extensions.wikilinks', + 'mdx_truly_sane_lists', ] diff --git a/requirements/base.txt b/requirements/base.txt index 94cf8a0..12fd07d 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -20,6 +20,7 @@ djangorestframework==3.10.2 # https://github.com/encode/django-rest-framework coreapi==2.3.3 # https://github.com/core-api/python-client django-markdownx==2.0.28 +mdx_truly_sane_lists==1.2 WeasyPrint==49 django-weasyprint==0.5.4 whitenoise==4.1.3