Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for the application factory pattern #17

Open
WTRipper opened this issue Aug 30, 2017 · 3 comments
Open

support for the application factory pattern #17

WTRipper opened this issue Aug 30, 2017 · 3 comments

Comments

@WTRipper
Copy link

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?

@ghost
Copy link

ghost commented Sep 2, 2018

Seconded, I would also like to see support for the application factory pattern. I may try to implement it on my own.

@duarteocarmo
Copy link

Would love to see this!

@Demian87
Copy link

#20
Here is a request for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants