hide half of the line number on printing
This commit is contained in:
parent
f80defe0c8
commit
5ec1c72103
1 changed files with 5 additions and 0 deletions
|
@ -254,6 +254,11 @@ table:not(.hljs-ln) tr th:last-child {
|
|||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
/* Skip some numbers lines in codeblocks */
|
||||
tbody tr:nth-child(even) .hljs-ln-numbers {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
@page {
|
||||
@bottom-right {
|
||||
content: counter(page) "/" counter(pages);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue