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

More robust pandoc conversion #16

Open
marph91 opened this issue Oct 10, 2024 · 0 comments
Open

More robust pandoc conversion #16

marph91 opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@marph91
Copy link
Owner

marph91 commented Oct 10, 2024

Affects all formats that use pandoc in the background. Tables are only converted to Markdown pipe tables if they are simple tables. Also lists aren't converted always.

Examples:

Pandoc allows to use filters in lua that are fast and manipulate the AST directly. This would eliminate the need of another preprocessing step. The filter should:

  • remove all divs (and other elements) from cells
  • convert lists to - [ ] ... + linebreak
  • convert newlines to some intermediate char (sequencs) and replace it in postprocessing
@marph91 marph91 added the enhancement New feature or request label Oct 10, 2024
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