We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea40b03 commit 4f68bddCopy full SHA for 4f68bdd
doc/source/conf.py
@@ -286,7 +286,9 @@ def setup(app):
286
plot_html_show_formats = False
287
plot_html_show_source_link = False
288
289
-copybutton_prompt_text = ">>> "
+# sphinx-copybutton configurations
290
+copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
291
+copybutton_prompt_is_regexp = True
292
# -----------------------------------------------------------------------------
293
# LaTeX output
294
0 commit comments