We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10be089 commit 6487f56Copy full SHA for 6487f56
python_docs_theme/static/copybutton.js
@@ -3,7 +3,9 @@ $(document).ready(function() {
3
* the >>> and ... prompts and the output and thus make the code
4
* copyable. */
5
var div = $('.highlight-python .highlight,' +
6
- '.highlight-python3 .highlight')
+ '.highlight-python3 .highlight,' +
7
+ '.highlight-pycon .highlight,' +
8
+ '.highlight-default .highlight');
9
var pre = div.find('pre');
10
11
// get the styles from the current theme
0 commit comments