Underline Heading
H1, H2์ ๊ฐ์ Heading ์๋์ ๊ตฌ๋ถ์ ์ ์๋์ผ๋ก ์์ฑํด ๋ณด์
Obsidian์ ์ ์ฉํ Underline Heading์ ๋์ผํ๊ฒ Quartz์ ์ ์ฉํ๋ ค๊ณ ํ๋, ์ ์ฉ์ด ๋์ง ์๋๋ค. CSS ์ ํ์๊ฐ ๋ค๋ฅด๊ฒ ์๋ํ๋ ๋ฏ ํด์, ์ ์์ ์ผ๋ก ์ ์ฉ๋๋ StyleSheets๋ฅผ ์ฐพ์ ๊ณต์ ํ๋ค.
์ ์ฉ ๋ฐฉ๋ฒ
quartz/styles/custom.scss ์ ๋ค์๊ณผ ๊ฐ์StyleSheets๋ฅผ ์ถ๊ฐํ๋ฉด ์ ์ฉํ ์ ์๋ค.
StyleSheets
/* quartz/styles/custom.scss */
.page article h1::after,
.page article h2::after {
display: block;
content: "";
padding-bottom: 0.5em;
border-bottom: 2px solid var(--lightgray);
margin-bottom: 0.5em;
}๊ด๋ จ ๊ธ