Indent a quote by its depth, not by its marker's width #364
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "quote-indent-by-depth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #340. With the
>hidden,>tekstsat one character in and> teksttwo, because NLDD sizes the hanging indent by the prefix's character count. A quote now indents by depth (the number of>), in both caret states:>tekstand> tekstline up,>> tekstsits one step further, and entering or leaving the line does not move the text.Measured in the preview at 480px: every row of
>eenand> tweeat 71.6px,>> drieat 81.2px; with the caret on the> tweeline its first letter sits at 71.7px.Trade-off: with the caret on a
>line, the revealed marker hangs 1.4px from the bar. Kept that way because the text now sits at the smaller indent.nlddTokens.test.tsnever saw--_*variables (no_in its regexes). This reads NLDD's internal--_marker-advance, so the guard now covers it: green with the real name, red with a misspelled one.Gates: 1424 vitest, 122 e2e, typecheck, pre-commit.