Repository navigation
chore: v2.8.0 - Add the ```filetree fenced block for file trees - #519
Merged
Merged
Conversation
- @docubook/core (minor), @docubook/markdown (minor): Add the ```filetree fenced block for file trees
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
✅ 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/coregoes from 2.2.5 to 2.8.0 and@docubook/markdownfrom 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.mdandpackages/markdown/CHANGELOG.mdare copied word for word from the consumed changeset. - Changeset consumed:
.changeset/filetree-fence.mdis 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.
claude-opus-5-5 | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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
9376adcThanks @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::::treedirective 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
Treecomponent 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.::::treeand its connectors still render through the same component.@docubook/[email protected]
Minor Changes
#518
9376adcThanks @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::::treedirective 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
Treecomponent 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.::::treeand its connectors still render through the same component.