2 Commits
Author SHA1 Message Date
Tom Moor 1276ce277f feat: Allow language shortcut when creating code block with backticks (#13400)
* feat: Trigger code block on space after backticks, allow language shortcut

* fix: Use own-property check for language lookup
2026-08-12 22:12:53 -04:00
Tom MoorandClaude Opus 4.8 46b6fcfe9c feat: Allow matching block input rules after soft-break (#12925)
* feat: Allow matching block input rules after soft-break

* fix PR feedback, math block handling

* perf: stop soft-break scan at the cursor position

Replace parent.forEach with a manual loop that breaks once past the
cursor, avoiding unnecessary per-keystroke iteration over inline nodes
after the cursor in large blocks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 08:30:30 -04:00