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

Add clear_renderers / clear_preprocessors #2542

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dalance
Copy link
Contributor

@dalance dalance commented Feb 1, 2025

Now Renderer and Preprocessor can be added by with_renderer and with_preprocessor.
But there is no way to disable the existing renderers and preprocessors.
So this PR add clear_renderers and clear_preprocessors.
This addition enables the customization of renderer and preprocessor without modifying the original book.toml.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants