1. Ahmad Khayyat
  2. mezzanine-pagedown

Commits

Ahmad Khayyat  committed bf496b4

Add an 'extra' filter for rendering Markdown Extra

  • Participants
  • Parent commits 0cc7f18
  • Branches default

Comments (0)

Files changed (1)

File mezzanine_pagedown/filters.py

View file
     return _clean(markdown(content))
 
 
+def extra(content):
+    """
+    Renders content using markdown extra.
+    """
+    return _clean(markdown(content, ['extra',]))
+