martian
martian copied to clipboard
feat: add support for thematic breaks/dividers in markdown parsing
This commit adds support for thematic breaks/dividers in the markdown parsing functionality. It introduces a new function divider() in the blocks.ts file, which creates a divider block. Additionally, the parseNode() function in the internal.ts file has been updated to handle the thematicBreak node type and convert it into a divider block.
Tests are failing though 👀
Oops, missed a test change, fixed that.
Awesome! Thanks for the PR 🚀