Skip to content

Commit

Permalink
Adds a more helpful doc string to markdown filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
EnigmaCurry committed Feb 5, 2011
1 parent 14df9d8 commit 39f902b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions blogofile/site_init/blog_features/_filters/markdown_template.py
Expand Up @@ -2,6 +2,21 @@
import logging
from blogofile.cache import HierarchicalCache as HC

"""
A markdown filter - see http://daringfireball.net/projects/markdown
Extensions (http://www.freewisdom.org/projects/python-markdown/Extensions)
are disabled by default, but can be turned on in _config.py:
filters.markdown.extensions.def_list.enabled = True
filters.markdown.extensions.abbr.enabled = True
filters.markdown.extensions.footnotes.enabled = True
filters.markdown.extensions.fenced_code.enabled = True
filters.markdown.extensions.headerid.enabled = True
filters.markdown.extensions.tables.enabled = True
"""


config = {
"name": "Markdown",
"description": "Renders markdown formatted text to HTML",
Expand Down

0 comments on commit 39f902b

Please sign in to comment.