Fixes #94. Thanks @natim. Only Markdown 2.0+ is supported currently.

This commit is contained in:
Marko Tibold 2012-04-11 23:13:04 +02:00
parent e53c819cc7
commit a07212389d

View File

@ -370,6 +370,8 @@ else:
# Markdown is optional
try:
import markdown
if markdown.version_info < (2, 0):
raise ImportError('Markdown < 2.0 is not supported.')
class CustomSetextHeaderProcessor(markdown.blockprocessors.BlockProcessor):
"""