行末にリターン記号を表示するUserCSS
https://gyazo.com/52d5a777460b9a46a13132e15ef8f210
:has()を使わないと実現できなかったtakker.icon 2023-11-05 12:22:18 修正
ほとんどのケースでカーソルが改行の前に来るようにした
code:style.css
.line {
--return-symbol: "⏎";
:is(
:not(.code-block.start) > .indent:not(:has(br), .cell-text, .tab),
.text:not(:has(.indent)) span:has(> .char-index):not(:has(br)):last-of-type,
.code-block-start > span:first-of-type,
.line-title .text
):after,
:is(.c-0:has(br.empty-char-index), .indent:has(> br), .cell:last-of-type .tab):before {
content: var(--return-symbol);
}
.formula-preview.text span.result span.indent:after {
content: "";
}
}