@lezer/markdown
Advanced tools
+8
-0
@@ -0,1 +1,9 @@ | ||
| ## 1.3.1 (2024-09-02) | ||
| ### Bug fixes | ||
| 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. | ||
| ## 1.3.0 (2024-04-03) | ||
@@ -2,0 +10,0 @@ |
+1
-1
| { | ||
| "name": "@lezer/markdown", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "description": "Incremental Markdown parser that consumes and emits Lezer trees", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -3562,2 +3562,8 @@ import {parser} from "../dist/index.js" | ||
| }) | ||
| it("Parses horizontal rules when setext headers are disabled", () => { | ||
| let tree = parser.configure({remove: ["SetextHeading"]}).parse(`abc\n---`) | ||
| if (tree.toString() != "Document(Paragraph,HorizontalRule)") | ||
| throw new Error("Unexpected tree: " + tree) | ||
| }) | ||
| }) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
407601
0.17%9822
0.08%