~netlandish/django-wiki

4e88ac8807b846124c88057ad6f1f1a7af505c63 — Benjamin Bach 6 years ago 1297a2a + 24e415b
Merge pull request #823 from rsalmaso/markdown

Use the full path to the markdown extension with Python's dot notation.
2 files changed, 11 insertions(+), 10 deletions(-)

M docs/release_notes.rst
M src/wiki/conf/settings.py
M docs/release_notes.rst => docs/release_notes.rst +2 -1
@@ 23,7 23,8 @@ Added
Changed
~~~~~~~

 * ...
 * Use full path names for ``MARKDOWN_KWARGS['extensions']`` as short names
   support wil be removed in ``Markdown 2.7`` :url-issue:`823`

Fixed
~~~~~

M src/wiki/conf/settings.py => src/wiki/conf/settings.py +9 -9
@@ 35,15 35,15 @@ MARKDOWN_SANITIZE_HTML = getattr(
#:    WIKI_MARKDOWN_KWARGS = {'extension_configs': {'toc': _('Contents of this article')}}
MARKDOWN_KWARGS = {
    'extensions': [
        'footnotes',
        'attr_list',
        'smart_strong',
        'footnotes',
        'attr_list',
        'def_list',
        'tables',
        'abbr',
        'sane_lists',
        'markdown.extensions.footnotes',
        'markdown.extensions.attr_list',
        'markdown.extensions.smart_strong',
        'markdown.extensions.footnotes',
        'markdown.extensions.attr_list',
        'markdown.extensions.def_list',
        'markdown.extensions.tables',
        'markdown.extensions.abbr',
        'markdown.extensions.sane_lists',
    ],
    'extension_configs': {
        'toc': {