from settings
indentation
[/villagepump/indent to show vertical lines](https://scrapbox.io/villagepump/indent to show vertical lines).
style.css_deprecated
.app:not(.presentation) .indent-mark .char-index:not(:nth-last-child(1)):not(:nth-last-child(2)) {
position: relative;
}
.app:not(.presentation) .indent-mark .char-index:not(:nth-last-child(1)):not(:nth-last-child(2))::before {
content: " ";
position: absolute;
left: 50%;
margin: -12px -1.6px;
}
.app:not(.presentation) .indent-mark .char-index:nth-child(2n+1)::before {
border-left: 2px solid #eee; /* specify color */
}
.app:not(.presentation) .indent-mark .char-index:nth-child(2n+2)::before {
border-left: 2px solid #ddd;
}
::beforenew version style.css
.indent-mark {
height: 100% !important;
}
.indent-mark .pad {
height: 100% !important;
overflow: unset !important;
}
.indent-mark span:nth-child(2n+2) .pad {
background: #f8f8f8;
}
a
seemingly good
This page is auto-translated from /nishio/インデント表示 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.