Skip to content

Extract section extracts more than 1 section #1

@bmadcode

Description

@bmadcode

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 given section and adds a few more. I have not yet explored specifically what the pattern is - but I will share the sample trivial prd I have been using as a sample for youtube videos, along with the command I used.

In the case of the following PRD - Trying to extract just section 6, created a file that had sections 6,7 and 8 (but interesting enough not the last section 9, as at first I thought it was just grabbing all content through the end).

The command run was md-tree extract docs/prd.md '6. Epic Overview' > epics.md

prd.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions