-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Describe the bug
The md-tree parser truncates section prematurely if they have code blocks in with comments starting with # because the tools thinks it has hit a Level 1 Header.
Steps to Reproduce
Run:
md-tree explode architectureBugTestVersion.md
on the following file:
PR
If this can be fixed by the md-tree devs, that's ideal. I've raised this as a bug at:
ksylvan/markdown-tree-parser#7
Expected behavior
Expected:
architectureBugTestVersion/development-workflow.md
should contain the full "Development Workflow" section.
Actual behavior
architectureBugTestVersion/development-workflow.md
only contain the "Development Workflow" section up to the # comment in the bash code excerpt.
Here's a screenshot showing the truncated section:
Additional context
This is causing the agents to get confused as they can't find sections that should be in the sharded document - for example "Code Quality and Standards" which is a subsection of the "Development Workflow" section.