This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import markdown | |
class PreprocessBlockExtension(markdown.extensions.Extension): | |
"""This extension will change the default behaviour of python-markdown and allow to use | |
pre-processing extensions inside block""" | |
def __init__(self, configs={}): | |
markdown.extensions.Extension.__init__(self) | |