@@ 83,7 83,7 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor):
article_list.meta = dict(
short_description=_('Article list'),
help_text=_('Insert a list of articles in this level.'),
- example_code=_('[article_list depth:2]'),
+ example_code='[article_list depth:2]',
args={'depth': _('Maximum depth to show levels for.')}
)
@@ 92,7 92,7 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor):
toc.meta = dict(
short_description=_('Table of contents'),
help_text=_('Insert a table of contents matching the headings.'),
- example_code=_('[TOC]'),
+ example_code='[TOC]',
args={}
)
@@ 102,5 102,5 @@ class MacroPreprocessor(markdown.preprocessors.Preprocessor):
short_description=_('WikiLinks'),
help_text=_(
'Insert a link to another wiki page with a short notation.'),
- example_code=_('[[WikiLink]]'),
+ example_code='[[WikiLink]]',
args={})