Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6487f56

Browse files
ccwang002theacodes
authored andcommitted
Fix copybutton to appear on all code examples (#26)
1 parent10be089 commit6487f56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎python_docs_theme/static/copybutton.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ $(document).ready(function() {
33
* the >>> and ... prompts and the output and thus make the code
44
* copyable. */
55
vardiv=$('.highlight-python .highlight,'+
6-
'.highlight-python3 .highlight')
6+
'.highlight-python3 .highlight,'+
7+
'.highlight-pycon .highlight,'+
8+
'.highlight-default .highlight');
79
varpre=div.find('pre');
810

911
// get the styles from the current theme

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp