Skip to content

chore: v2.8.0 - Add the ```filetree fenced block for file trees - #519

Merged
gitfromwildan merged 1 commit into
mainfrom
changeset-release/main
Nov 10, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@docubook/[email protected]

Minor Changes

  • #518 9376adc Thanks @gitfromwildan! - Add the ```filetree fenced block for file trees. The body is an indented list: one entry per line, children indented further than their parent at any width, no connector characters. A fence keeps every leading space, which is what makes indentation alone enough; the legacy ::::tree directive lost leading spaces in the markdown parser and needed `├─`/`│` connectors for every level. `@docubook/core` turns the fence into the `Tree` component through the new `rehypeFileTree` plugin, which runs in the default rehype pipeline; `title="…"` or `filetree:title` sets the tree's accessible label for screen readers and is not rendered.

    The Tree component gets a refreshed look and behavior: mono rows with guide lines, folder and per-type file icons, muted notes for text after # or //, and the WAI-ARIA tree keyboard pattern (arrow keys, Home and End, Enter and Space) with a single tab stop. Empty folders written with a trailing / keep the folder icon. ::::tree and its connectors still render through the same component.

@docubook/[email protected]

Minor Changes

  • #518 9376adc Thanks @gitfromwildan! - Add the ```filetree fenced block for file trees. The body is an indented list: one entry per line, children indented further than their parent at any width, no connector characters. A fence keeps every leading space, which is what makes indentation alone enough; the legacy ::::tree directive lost leading spaces in the markdown parser and needed `├─`/`│` connectors for every level. `@docubook/core` turns the fence into the `Tree` component through the new `rehypeFileTree` plugin, which runs in the default rehype pipeline; `title="…"` or `filetree:title` sets the tree's accessible label for screen readers and is not rendered.

    The Tree component gets a refreshed look and behavior: mono rows with guide lines, folder and per-type file icons, muted notes for text after # or //, and the WAI-ARIA tree keyboard pattern (arrow keys, Home and End, Enter and Space) with a single tab stop. Empty folders written with a trailing / keep the folder icon. ::::tree and its connectors still render through the same component.

- @docubook/core (minor), @docubook/markdown (minor): Add the ```filetree fenced block for file trees
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Preview Nov 10, 2026 4:20am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Mode: standard. I checked this Changesets release PR. It uses the pending filetree-fence changeset for the v2.8.0 release.

  • Version bumps: @docubook/core goes from 2.2.5 to 2.8.0 and @docubook/markdown from 2.7.0 to 2.8.0. Both are minor bumps, and linked-group alignment takes them to the group's next minor, since flame is the highest at 2.7.1.
  • Changelogs: The new entries in packages/core/CHANGELOG.md and packages/markdown/CHANGELOG.md are copied word for word from the consumed changeset.
  • Changeset consumed: .changeset/filetree-fence.md is deleted.
  • Unchanged packages: flame, themes-colors and ui-react are not versioned. This is expected. Flame uses workspace:^ for core and markdown, and 2.8.0 is still inside that range, so Changesets does not bump it.

Overall assessment: READY. There are no top priorities.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit c2409db into main Nov 10, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the changeset-release/main branch November 10, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant