SIGN IN SIGN UP

fix(editor): Add white-space property to code styling (#1603)

* fix(editor): Add white-space property to code styling

* fix(editor): keep ASCII diagrams and aligned columns unwrapped in plan code blocks

Soft-wrapping every fence tears box-drawing diagrams and space-aligned
tables apart once a row is wider than the card. Fences that look laid
out as a grid (box-drawing characters, tabs or 2+ space runs between
words) keep the previous unwrapped, horizontally scrolling layout via a
data-keep-layout attribute. Wrapping fences also break long unbroken
tokens such as URLs with overflow-wrap: anywhere.

---------

Co-authored-by: Michael Ramos <mdramos8@gmail.com>
P
Paul Melero committed
9a31ae1e2c97255de0312596536a8c0760334ecf
Parent: cace822
Committed by GitHub <noreply@github.com> on 9/24/2026, 3:00:04 PM