How to add the 3px line under the number of Chapter title as in:
https://bookdown.org/yihui/bookdown/introduction.html
without underlining also the sections (1.1). Problem occurs when
split_by: section
is not used in _output.yml. (I do not want to split by sections)
#_output.yml
bookdown::gitbook:
css: style.css
split_by: section #<- NOT HAVING THIS
#css
.level1 .header-section-number {
display: inline-block;
border-bottom: 3px solid;
}
I manage to do that with:
.level1 .header-section-number {
display: inline-block;
border-bottom: 3px solid;
}
.level2 .header-section-number {
border-bottom: none;
}