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

ParsedownExtra with MarkdownExtension? #3842

Open
joeworkman opened this issue May 26, 2023 · 2 comments
Open

ParsedownExtra with MarkdownExtension? #3842

joeworkman opened this issue May 26, 2023 · 2 comments
Labels

Comments

@joeworkman
Copy link

Is it possible to use erusev/parsedown-extra with the MarkdownExtension?

@stof
Copy link
Member

stof commented May 26, 2023

The ErusevMarkdown class implementing the integration of erusev/parsedown with the MarkdownExtension supports injecting the Parsedown instance in its constructor. So it is possible (not sure the twig-extra-bundle allows you to configure the extension this way easily in a Symfony project without a compiler pass modifying services though)

@joeworkman
Copy link
Author

I guess I would need to submit a PR to make this happen. Let me see what I can do...

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

No branches or pull requests

3 participants