flask-markdown
flask-markdown copied to clipboard
support for the application factory pattern
At the moment I am not able to initiate flask-markdown with the application factory pattern. Would be nice if this will be supported in future.
from flaskext.markdown import Markdown
markdown = Markdown()
def create_app(config_name):
app = Flask(__name__)
markdown.init_app(app)
Btw standard flask extensions can be imported like from flask_markdown import Markdown
. Why is it not like this?
Seconded, I would also like to see support for the application factory pattern. I may try to implement it on my own.
Would love to see this!
https://github.com/dcolish/flask-markdown/pull/20 Here is a request for it