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

Implement hooks for page processing #37

Open
inhumantsar opened this issue May 19, 2024 · 0 comments
Open

Implement hooks for page processing #37

inhumantsar opened this issue May 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@inhumantsar
Copy link
Owner

inhumantsar commented May 19, 2024

Relying solely on upstream parsers will never yield perfect results, so it would make sense to implement hooks which can be used to apply fixes for common simplification and conversion errors.

They should be available at three places in the slurping process: before simplification, before markdown conversion, and after conversion. Hooks will need to be either universal or site-specific. They should not be user configurable to start. Relevant checks and processing should be migrated to use these hooks but those should be addressed as separate issues.

See also #34, #15, #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant