martian icon indicating copy to clipboard operation
martian copied to clipboard

feat: add support for thematic breaks/dividers in markdown parsing

Open sengmitnick opened this issue 1 year ago • 2 comments

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.

sengmitnick avatar Jun 24 '24 08:06 sengmitnick

Tests are failing though 👀

EndBug avatar Jun 25 '24 12:06 EndBug

Oops, missed a test change, fixed that.

sengmitnick avatar Jun 26 '24 07:06 sengmitnick

Awesome! Thanks for the PR 🚀

EndBug avatar Aug 01 '24 09:08 EndBug