@lezer/markdown
Advanced tools
Changelog
1.4.0 (2025-01-07)
Fix a regression in the autolink extension that made it fail to match some kinds of email addresses.
The new BlockContext.peekLine
method can be used to scan the line ahead of the current one.
Changelog
1.3.2 (2024-10-29)
Fix a quadratic slowdown in the Autolink extension on parsing text containing extremely long words.
Changelog
1.3.1 (2024-09-02)
Fix emphasis parsing to properly test for punctuation on platforms that support regular expression unicode categories.
Fix an issue where dashes right after a paragraph weren't parsed as horizontal rules when setext headers are disabled.
Changelog
1.3.0 (2024-04-03)
GFM autolinks will no longer include the closing bracket of a surrounding link or image.
InlineContext.hasOpenLink
can now be used to query whether there is an unclosed link or image marker before the current token.
Changelog
1.2.0 (2023-12-25)
Properly require whitespace before link titles. Parse autolinks as their own nodes
Wrap autolinks in an Autolink
syntax node, rather than just URL
, and exclude the wrapping angle brackets from the URL
nodes.
Changelog
1.1.2 (2023-12-07)
Fix a bug that could cause blockquote markers to be attached to the wrong parent node, causing them to overlap with sibling syntax nodes.
Changelog
1.1.1 (2023-11-17)
Make sure GFM autolinking accepts URLs like test.co.uk
Fix a bug in Autolink
that made it fail to accept some URLs with hyphens.
Changelog
1.1.0 (2023-08-03)
The new Autolink
extension (included in the GFM
extension bundle) marks some types of URLs even without angle brackets.
Changelog
1.0.5 (2023-06-30)
Fix another issue in reuse of nodes when the input has gaps.