We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45032ec commit 97e2157Copy full SHA for 97e2157
test/index.js
@@ -1746,6 +1746,16 @@ test('content', async function (t) {
1746
assert.equal(micromark(':::i\n- +\na', options()), '')
1747
}
1748
)
1749
+
1750
+ await t.test(
1751
+ 'should support line endings + spread in containers (syntax-tree/mdast-util-directive#13)',
1752
+ async function () {
1753
+ assert.equal(
1754
+ micromark(' :::div\n* b\n\n c\n:::', options({'*': h})),
1755
+ '<div>\n<ul>\n<li>b</li>\n</ul>\n<p>c</p>\n</div>'
1756
+ )
1757
+ }
1758
1759
})
1760
1761
/**
0 commit comments