Hi, thanks for this package!
I noted in the documentation that it should automatically try and spread data that would be too long into multiple blocks, however after using markdownToBlocks() with some data that contained many lines and line breaks, the result was a paragraph block with a rich_text array that had over 100 items, which is over Notion's API limit for rich_text items.
When reading the docs, I thought it might try and spread the excess rich_text items into other blocks, but looking at the source code it will either truncate the array or leave it as it is - I think we should create X-amount of blocks until all excess rich_text items can fit?
Hi, thanks for this package!
I noted in the documentation that it should automatically try and spread data that would be too long into multiple blocks, however after using
markdownToBlocks()with some data that contained many lines and line breaks, the result was aparagraphblock with arich_textarray that had over 100 items, which is over Notion's API limit forrich_textitems.When reading the docs, I thought it might try and spread the excess
rich_textitems into other blocks, but looking at the source code it will either truncate the array or leave it as it is - I think we should create X-amount of blocks until all excessrich_textitems can fit?