Skip to content

Allow custom markdown-it plugin to be loaded first #1382

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

Closed
4 tasks done
JingMatrix opened this issue Sep 21, 2022 · 1 comment
Closed
4 tasks done

Allow custom markdown-it plugin to be loaded first #1382

JingMatrix opened this issue Sep 21, 2022 · 1 comment
Labels
build Related to the build system

Comments

@JingMatrix
Copy link

Is your feature request related to a problem? Please describe.

Current user's config in the markdown option is loaded after all pre-defined plugins. This enables use to do some initial works for other plugins but not able to hook their results.

Describe the solution you'd like

I would like to have configAfter and configBefore two different options to load my own markdown-it plugin.

Describe alternatives you've considered

No response

Additional context

No response

Validations

@brc-dd brc-dd added enhancement build Related to the build system labels Sep 26, 2022
@brc-dd
Copy link
Member

brc-dd commented Sep 26, 2022

Yeah, we can add that for sure. But it will be the users' responsibility to not generate (intermediate) output that may break our internal plugins (as they have highly linked logic).

@github-actions github-actions bot added the stale label Aug 3, 2023
@brc-dd brc-dd removed the stale label Aug 4, 2023
@brc-dd brc-dd closed this as completed in ce85726 Aug 4, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build Related to the build system
Projects
None yet
Development

No branches or pull requests

2 participants