Skip to content

chore: v2.8.2 - Keep every part of a callout's text in the callout's own color - #523

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

gitfromwildan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@gitfromwildan

@gitfromwildan gitfromwildan commented Nov 10, 2026 •

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]

Patch Changes

  • #524 7c781d0 Thanks @gitfromwildan! - Components no longer render headings. A #…###### line inside a callout, card, tab, accordion, step or GitHub alert used to become a real <h1>–<h6> with an anchor link and, for h2–h4, a table-of-contents entry. That put a second h1 on the page, and a heading in a hidden tab or a collapsed accordion became a TOC link to content the reader could not see. Such a line now renders as a plain paragraph that keeps its text and inline markup, through the new remarkComponentHeadings plugin in the default remark stack. The built-in search index follows the same rule: a heading inside a component is indexed as content of the section around it instead of as its own section, and ::: fence lines are no longer indexed as text.

@docubook/[email protected]

Patch Changes

  • #524 7c781d0 Thanks @gitfromwildan! - Components no longer render headings. A #…###### line inside a callout, card, tab, accordion, step or GitHub alert used to become a real <h1>–<h6> with an anchor link and, for h2–h4, a table-of-contents entry. That put a second h1 on the page, and a heading in a hidden tab or a collapsed accordion became a TOC link to content the reader could not see. Such a line now renders as a plain paragraph that keeps its text and inline markup, through the new remarkComponentHeadings plugin in the default remark stack. The built-in search index follows the same rule: a heading inside a component is indexed as content of the section around it instead of as its own section, and ::: fence lines are no longer indexed as text.
  • Updated dependencies [ebde9ab, 7c781d0]:

@docubook/[email protected]

Patch Changes

  • #522 ebde9ab Thanks @gitfromwildan! - Keep every part of a callout's text in the callout's own color. The typography styles also gave links, headings, inline code, blockquotes, definition terms, kbd and list markers the page's ink color (near black, or white in dark mode), so a URL in a callout showed as a black or white link on the tinted panel. They now inherit the callout color: links keep their underline in that color, and the borders of inline code, kbd, blockquotes and rules, plus the fill of inline code, are tints of it. Tables take their border, header color and header fill from new --mdx-table-border, --mdx-table-head-color and --mdx-table-head-bg variables, which fall back to the theme values; a callout sets them from its own color, so its tables follow it too. A code block inside a callout keeps the page's body color for its plain text instead of taking the callout color, so it looks the same as a code block outside a callout.

@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 11, 2026 1:22am UTC

pullfrog[bot]
pullfrog Bot previously approved these changes Nov 10, 2026

@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

Standard mode: I checked the Changesets release PR that publishes @docubook/[email protected]. Verdict: READY.

  • Changeset consumed: .changeset/callout-prose-children.md (a patch for @docubook/markdown, from #522) is deleted, and no other changesets are pending in .changeset/.
  • Version bump: packages/markdown/package.json goes from 2.8.1 to 2.8.2, which matches the changeset's patch type.
  • CHANGELOG: the new 2.8.2 entry copies the changeset text word for word and links to #522 and ebde9ab.
  • Release scope: no other package is versioned, which is correct. @docubook/flame takes @docubook/markdown through workspace:^, and 2.8.2 is still inside that range.

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

@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

Standard mode: since the last review, the release PR picked up #524, so @docubook/core and @docubook/flame now ship in v2.8.2 next to @docubook/markdown. Verdict: READY.

  • Consumed the new changeset: the PR deletes .changeset/no-headings-in-components.md (a patch for core and flame). No other changesets are pending.
  • Bumped core and flame to 2.8.2: core moves from 2.8.0 and flame from 2.7.1. Both skip ahead because the linked group takes the highest version in the release. @docubook/markdown reaches 2.8.2 through its own patch, so this is the expected outcome, not a bump bug.
  • Added CHANGELOG entries: the core and flame entries copy the changeset text word for word. Flame's entry also lists the dependency updates (@docubook/[email protected], @docubook/[email protected]).
  • Left the rest of the release scope unchanged: @docubook/themes-colors and @docubook/ui-react have no changesets. Both plugins declare their peer dependency on @docubook/flame as workspace:^, and 2.8.2 is still inside that range, so neither gets a version bump.

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

@gitfromwildan
gitfromwildan force-pushed the changeset-release/main branch 2 times, most recently from a3e33da to 9772510 Compare November 11, 2026 00:52
…own color

- @docubook/markdown (patch): Keep every part of a callout's text in the callout's own color
- @docubook/core (patch), @docubook/flame (patch): Components no longer render headings
@gitfromwildan
gitfromwildan merged commit 80c0662 into main Nov 11, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the changeset-release/main branch November 11, 2026 01:24
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