File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,13 @@ Out[ ] blocks are not displayed.
5
5
.jp-InputPrompt , .jp-OutputPrompt {
6
6
display : none !important ;
7
7
}
8
+
9
+ /*
10
+ Note: For some reason, ".jp-OutputArea-area pre" didn't work as selector.
11
+ But by introducing the custom class that is added through the plugin to jupyter
12
+ input or output cells, we can target the pre tags inside the cells.
13
+ */
14
+ .jupyter-custom-highlight .jp-OutputArea-area pre {
15
+ white-space : pre;
16
+ padding : 6px ; /* To separate scrollbar from actual output */
17
+ }
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ plugins:
43
43
show_input : true
44
44
include_source : true
45
45
no_input : false
46
+ highlight_extra_classes : jupyter-custom-highlight
46
47
47
48
- mkdocstrings :
48
49
handlers :
You can’t perform that action at this time.
0 commit comments