Skip to content

Commit

Permalink
Add test for external issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 22, 2025
1 parent 45032ec commit 97e2157
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,16 @@ test('content', async function (t) {
assert.equal(micromark(':::i\n- +\na', options()), '')
}
)

await t.test(
'should support line endings + spread in containers (syntax-tree/mdast-util-directive#13)',
async function () {
assert.equal(
micromark(' :::div\n* b\n\n c\n:::', options({'*': h})),
'<div>\n<ul>\n<li>b</li>\n</ul>\n<p>c</p>\n</div>'
)
}
)
})

/**
Expand Down

0 comments on commit 97e2157

Please sign in to comment.