File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,14 @@ command = "cargo run -p renderer --locked -rq --"
2727additional-css = [" css/custom.css" ]
2828additional-js = [" js/linenos.js" ]
2929smart-punctuation = true
30- print = { enable = true }
3130fold = { enable = true , level = 0 }
3231git-repository-url = " https://github.com/gbdev/gb-asm-tutorial"
3332edit-url-template = " https://github.com/gbdev/gb-asm-tutorial/edit/master/{path}"
3433site-url = " /gb-asm-tutorial/"
3534
35+ [output .html .print ]
36+ enable = true # include support for printable output
37+ additional-css = [" css/print.css" ]
38+
3639[output .linkcheck ]
3740optional = true
Original file line number Diff line number Diff line change @@ -80,3 +80,8 @@ pre > code.linenos > .line::before {
8080.sprites {
8181 margin : 10px ;
8282}
83+
84+ @media print {
85+ details { display : block; }
86+ details summary { display : none; }
87+ }
Original file line number Diff line number Diff line change 1+
2+ details {
3+ display : block !important ;
4+ }
5+ details summary {
6+ display : none !important ;
7+ }
You can’t perform that action at this time.
0 commit comments