souvikinator / notion-to-md

Convert notion pages, block and list of blocks to markdown (supports nesting and custom parsing)
https://www.npmjs.com/package/notion-to-md
MIT License
1.08k stars 89 forks source link

JSDoc type for blocksToMarkdown's mdBlocks #110

Open matysikatwork opened 2 months ago

matysikatwork commented 2 months ago

In the blocksToMarkdown definition, the mdBlocks argument JSDoc hint is "Defines max depth of nesting," but I think this is a typo and it should read "Array of markdown blocks" as in toMarkdownString.

* @param {MdBlock[]} mdBlocks - Defines max depth of nesting to * @param {MdBlock[]} mdBlocks - Array of markdown blocks