-
-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
Description
const markdown = `
- 📝 item1
- ⚙️ item2
- 🔗 item3
# h1
`
const blocks: Block[] = await editor.markdownToBlocks(markdown);
console.log(blocks, "blocks");
I get the blocks.length is 3 , it seems look like lost # h1
however, when the # h1
is in the top
const markdown = `
# h1
- 📝 item1
- ⚙️ item2
- 🔗 item3
`
const blocks: Block[] = await editor.markdownToBlocks(markdown);
console.log(blocks, "blocks");
I get the blocks.length is 4 , it can correctly parsed # h1
and list
Is this a bug?
gpawlik-cais, yunsii and thantos