Skip to content

v4.14.0

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 16 Jul 23:20
· 75 commits to main since this release
v4.14.0
57edd60

Focus: remote README home pages get copy-ready code blocks, and collapsible titles render inline code correctly.

Changes

  • 🧰 Code block metadata bar defaults ON for remote README home pages (homePage.source: 'remote-readme'): a README also renders on GitHub, so it cannot carry the toolbar fence attribute — and its single-line blocks are usually commands readers want to copy. Every code block on such a home page now shows the language label and copy button; an explicit :toolbar="false"; still wins. The default propagates into nested blocks (expandables, steppers, timelines).
  • 🛠️ Fixed inline code inside <summary> titles: backtick code in a collapsible title leaked the internal shield marker (@@DOCSECTOR_CODE_SEGMENT_N@@) into the rendered heading. Titles are now restored and rendered as inline Markdown — backtick code becomes a styled inline code chip — for both native <details><summary> blocks and authored <d-block-expandable title="..."> elements.
  • 🖱️ Title code chips are intentionally non-interactive (no copy affordance) so clicks keep toggling the collapsible.
  • 🎛️ Added the codeToolbarDefault option to the page section tokenizer, threaded through nested block tokenization.
  • 📚 Updated docs in both locales — Code Blocks overview (remote README default) and Expandable overview (inline title rendering) — plus the README feature list.
  • ✅ Validated with 244 passing tests (5 new), covering the page-level toolbar default, explicit-override precedence, propagation into expandable bodies, and title restoration/inline rendering for native and authored collapsibles.

Notes

  • Behavior on regular documentation pages is unchanged: the metadata bar still follows the content, and the toolbar fence attribute continues to override it both ways.