Commit dec93358 by benjaoming

Add attr_list to allow e.g. custom Header ids for custom references to header sections

parent 1a896edf
...@@ -15,7 +15,7 @@ WIKI_LANGUAGE = 'markdown' ...@@ -15,7 +15,7 @@ WIKI_LANGUAGE = 'markdown'
EDITOR = getattr( django_settings, 'WIKI_EDITOR', 'wiki.editors.markitup.MarkItUp' ) EDITOR = getattr( django_settings, 'WIKI_EDITOR', 'wiki.editors.markitup.MarkItUp' )
MARKDOWN_KWARGS = { MARKDOWN_KWARGS = {
'extensions': ['footnotes', 'headerid', 'extra',], 'extensions': ['footnotes', 'attr_list', 'headerid', 'extra',],
'safe_mode': 'replace', 'safe_mode': 'replace',
'extension_configs': {'toc': {'title': _('Table of Contents')}}, 'extension_configs': {'toc': {'title': _('Table of Contents')}},
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment