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

Refactor Plugin\Filter\MarkdownAlterationsFilter into an event and multiple event subscribers #8

Open
Ambient-Impact opened this issue Jul 22, 2022 · 0 comments
Labels
enhancement New feature or request move To be moved elsewhere

Comments

@Ambient-Impact
Copy link
Member

class MarkdownAlterationsFilter extends FilterBase implements ContainerFactoryPluginInterface {

Right now, this is a bit of a dumping ground for anything that needs to be done after all Markdown has been rendered. If possible, refactor all of these methods as separate event subscribers, preferably subscribed to a CommonMark event rather than an input filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request move To be moved elsewhere
Projects
Development

No branches or pull requests

1 participant