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

PoC: Pandoc lua filter instead of Beautifulsoup preprocessing #28

Closed
wants to merge 1 commit into from

Conversation

marph91
Copy link
Owner

@marph91 marph91 commented Jan 4, 2025

Related: #16

@marph91
Copy link
Owner Author

marph91 commented Jan 4, 2025

It's possible to migrate some filters to lua, like modifying the image attributes (synology_note_station.lua). I. e. when only tha AST needs to be modified. But for example for tables this doesn't work. If the divs and spans inside tables are not removed before parsing, there is no table at the AST at all. Instead there are plain elements that can't be converted back to tables in a lua filter.

@marph91 marph91 closed this Jan 4, 2025
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