Post

[Blog] Custom: Keep the TOC Open by Default

[Blog] Custom: Keep the TOC Open by Default

Abstract

toc를 항상 열도록 커스텀.

다음 링크를 참고하여 적용
Chirpy 목차(toc) 항상 열기

1
2
3
4
5
6
7
8
9
10
11
// assets/css/jekyll-theme-chirpy.scss
---
---

/* prettier-ignore */
@use 'main.bundle';

/* append your custom style below */
.is-collapsed {
  max-height: none !important;
}

Header1

Header2

Header 3

This post is licensed under CC BY 4.0 by the author.