Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of High-Level Changes 🌐
Added Dependency:
turndown-plugin-gfm
has been added to bothpackages/package.json
of the core and core sub-package. This plugin enhances Turndown's ability to convert HTML to Markdown, specifically for GitHub Flavored Markdown (GFM).Enhanced Conversion Logic:
packages/core/src/html.ts
, the conversion logic for transforming HTML to Markdown has been improved. It now uses theturndown-plugin-gfm
plugin to better handle GFM syntax when converting.These changes focus on enhancing the functionality of HTML to Markdown conversion, making sure it supports a broader range of text formatting features, particularly those specific to GitHub. This update enhances compatibility and utility for applications integrating or utilizing this Markdown conversion capability.
turndown-plugin-gfm
Dependency: Introduced theturndown-plugin-gfm
package to enhance markdown conversion capabilities with GitHub Flavored Markdown support.compile
andcompile-debug
scripts to includeturndown-plugin-gfm
as an external dependency, ensuring compatibility with the new plugin.turndown-plugin-gfm
in the HTML to Markdown conversion process to support GitHub Flavored Markdown, improving markdown output quality.