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

Make it easier to create text filter plugins #110

Merged
merged 3 commits into from
Sep 30, 2023

Conversation

mvz
Copy link
Member

@mvz mvz commented Sep 30, 2023

This change mainly removes the requirement that text filter plugins must either have a name starting with plugin or be in a particular namespace.

In exchange, plugins that previously subclassed MacroPre, MacroPost, PostProcess or Markup now should include the module of the same name and subclass TextFilterPlugin.

  • Simplify test for TextFilterPlugin filter list methods
  • Convert abstract text TextFilterPlugin descendants to modules
  • Stop requiring text filters to have special names

We know which filters are there, so just match the expected contents of
these lists.
This change makes all actual descendants of TextFilterPlugin real filters.
@mvz mvz merged commit b55d79d into master Sep 30, 2023
5 checks passed
@mvz mvz deleted the improve-text-filter-plugin-system branch September 30, 2023 17:24
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

Successfully merging this pull request may close these issues.

1 participant