Skip to content

Commit aaa5bc3

Browse files
committed
Enable copy button for shell sessions and consoles
1 parent acc6133 commit aaa5bc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python_docs_theme/static/copybutton.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ const loadCopyButton = () => {
6262
+ ".highlight-python3 .highlight,"
6363
+ ".highlight-pycon .highlight,"
6464
+ ".highlight-pycon3 .highlight,"
65+
+ ".highlight-console .highlight,"
66+
+ ".highlight-doscon .highlight,"
67+
+ ".highlight-ps1con .highlight,"
68+
+ ".highlight-shell-session .highlight,"
6569
+ ".highlight-default .highlight"
6670
)
6771

0 commit comments

Comments
 (0)