We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a406a63 commit 7f328d2Copy full SHA for 7f328d2
docs/styles/custom.css
@@ -5,3 +5,13 @@ Out[ ] blocks are not displayed.
5
.jp-InputPrompt, .jp-OutputPrompt {
6
display: none !important;
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
+}
mkdocs.yml
@@ -43,6 +43,7 @@ plugins:
43
show_input: true
44
include_source: true
45
no_input: false
46
+ highlight_extra_classes: jupyter-custom-highlight
47
48
- mkdocstrings:
49
handlers:
0 commit comments