micromark-extension-gfm seems to break Blockquote laziness rule #69
-
Hi! Setup var gfm = require("mdast-util-gfm");
var fromMarkdown = require("mdast-util-from-markdown");
var syntax = require("micromark-extension-gfm");
var mdast = fromMarkdown(markdown, {
extensions: [syntax()],
mdastExtensions: [gfm.fromMarkdown]
});
let mdast = fromMarkdown(`> Quote <-- 2 spaces
Quote Continuation`); Expected GFM allows for laziness in blockquotes. Actual Please could I check if this is user error or expected behavior? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is not expected, it was an issue remarkjs/remark-gfm#3 |
Beta Was this translation helpful? Give feedback.
It is not expected, it was an issue remarkjs/remark-gfm#3
That said it should have been fixed in https://github.com/micromark/micromark/releases/tag/3.0.0, https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/1.0.0, and https://github.com/micromark/micromark-extension-gfm/releases/tag/1.0.0 .
What version(s) are you testing with?