orca/src
Jinjing bf0b65a049
feat(editor): add Toggle Heading 2, 3, 4 to markdown editor (#8822)
* feat(editor): add Toggle Heading 2, 3, 4 to markdown editor

Generalize the heading-1-only collapsible-toggle plumbing to support
heading levels 1-4, mirroring the plain heading scales the slash menu and
toolbar dropdown already offer.

- Introduce ToggleHeadingVariant type + parseToggleHeadingVariant helper
- Widen markdown parse/render/sanitize allowlists from heading-1 to 1-4
- Add Toggle Heading 2/3/4 slash commands
- Add matching summary sizing in editor + preview CSS
- Extend round-trip tests for the new levels

Co-authored-by: Orca <help@stably.ai>

* fix(editor): preserve toggle heading variants

---------

Co-authored-by: Orca <help@stably.ai>
2026-07-14 23:14:22 -07:00
..
cli Add version-matched skill guides to the CLI (#8624) 2026-07-14 02:17:55 -07:00
main fix(terminal): keep legacy daemon PTYs mounted (#8817) 2026-07-14 22:53:33 -07:00
preload fix(terminal): keep legacy daemon PTYs mounted (#8817) 2026-07-14 22:53:33 -07:00
relay Suppress Git Credential Manager OAuth popup loop in Orca-run git — clone, terminals/agents, setup hooks (fixes #7652) (#7986) 2026-07-14 15:23:06 -07:00
renderer feat(editor): add Toggle Heading 2, 3, 4 to markdown editor (#8822) 2026-07-14 23:14:22 -07:00
shared Surface Grok unified-billing monthly usage instead of a permanent warning (#8769) 2026-07-14 17:02:06 -07:00
types