-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Migrate markdown-gfm to remark and rehype
#18645
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
Merged
pomek
merged 29 commits into
master
from
internal/4006-migrate-markdown-gfm-plugin-to-unifiedjs-ecosystem
Jun 26, 2025
+521
−359
Merged
Changes from 18 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d1cda06
Other (markdown-gfm): Migrate to remark / rehype packages.
filipsobol 5159434
Use strict dependency versions and replace `remark-gfm` with `remark-…
filipsobol 78c2025
Fix the `keep` function in `html2markdown`.
filipsobol f382e31
Improve link handling
filipsobol 0121651
Fix some failing tests
filipsobol b306b15
Restore original handling for line breaks and fix few failing tests
filipsobol f5444d7
Fix handling of editor's Todo lists
filipsobol fd6cea0
Enable autolinking
filipsobol 2ffa4d0
Update tests
filipsobol f87e535
Add custom DOM-based plugin to replace `rehype-raw`.
filipsobol 606c4fb
Merge branch 'master' into internal/4006-migrate-markdown-gfm-plugin-…
filipsobol 88c3463
Update tests and fix type error
filipsobol 1508d11
Add missing dependencies
filipsobol 6b26925
Ignore coverage for one `if` statement and improve typings
filipsobol 4cdb7bd
Improve types
filipsobol da32b49
Improve compatibility with To-do lists
filipsobol 46be449
Escape `<` characters in `text` nodes
filipsobol dbcbf82
Update LICENSE.md
filipsobol fa0ed89
Fix todo lists
filipsobol d5db33f
Add bug related to a code block inside to-do lists to a list of known…
filipsobol 42ad7be
Add tests
filipsobol e82ee39
Update main LICENSE.md
filipsobol 0fcd2d6
Cover more cases of HTML inside Markdown
filipsobol 34c11a3
Update manual test to allow testing allowed HTML tags
filipsobol 9644127
Improve manual test
filipsobol c69e699
Merge branch 'master' into internal/4006-migrate-markdown-gfm-plugin-…
filipsobol 38f2dbd
Merge branch 'master' into internal/4006-migrate-markdown-gfm-plugin-…
filipsobol d3de5e2
Replace `hast` with `@types/hast`
filipsobol 5d973df
Update `LICENSE.md` files
filipsobol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.