markdown-tree-parser
markdown-tree-parser copied to clipboard
A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures. Built on top of the battle-tested remark/unified ecosystem.
Hi, I'm trying to use md-tree to explode the attached file: [testInputFileForTruncationBug.md](https://github.com/user-attachments/files/21353208/testInputFileForTruncationBug.md) but when it hits a # inside an embedded bash statement it truncates the section. I would expect...
### Problem When parsing markdown files with Chinese, Japanese, or Korean (CJK) headings, all non-ASCII characters are stripped due to the current implementation of `sanitizeText()` in `bin/md-tree.js`. Example: ``` sanitizeText("标题一")...
Explode works perfectly and each level 2 goes to its own file and has only the content from that level 2. With Extract, it sometimes takes more than just the...