settings
Cosense の設定を記述するページです
拡張記法
水平線
サンプル
[-<> -]
表示例
-
実装
code:style.css
span.text:has(.deco-\<):has(.deco-\>):has(.deco--) {
& {
text-align: left;
color: transparent;
}
&:not(:has(span.indent)),
& span.indent {
position: relative;
}
&:not(:has(span.indent))::before,
& span.indent::before {
position: absolute;
content: '';
top: calc(50% - 1px);
bottom; 50%;
left: 0;
right: 0;
height: 2px;
border-radius: 4px;
}
}