Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add markdown html blocks rendering #23

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

guilhermeprokisch
Copy link
Owner

@guilhermeprokisch guilhermeprokisch commented Sep 13, 2024

This PR introduces HTML to Markdown conversion functionality. The main changes include:

  1. Added a new configuration option convert_html to enable/disable HTML to Markdown conversion.
  2. Implemented HTML to Markdown conversion using the htmd crate.
  3. Updated the render_node function to handle HTML nodes and convert them to Markdown when enabled.
  4. Added error handling and debug logging for image rendering issues.
  5. Updated documentation to reflect the new --convert-html CLI option.
  6. Adjusted default image dimensions for better display.

@guilhermeprokisch guilhermeprokisch merged commit 4e29b90 into main Sep 13, 2024
6 checks passed
@guilhermeprokisch guilhermeprokisch mentioned this pull request Sep 13, 2024
@guilhermeprokisch guilhermeprokisch changed the title feat: add markdown blocks rendering feat: add markdown html blocks rendering Sep 13, 2024
This was referenced Sep 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant