Skip to content

Commit d6edccf

Browse files
authored
Strip space from pasted text (#1142)
1 parent a5defb4 commit d6edccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ def _asset_hash(path: os.PathLike[str]) -> str:
166166

167167
# Strip the dollar prompt when copying code
168168
# https://sphinx-copybutton.readthedocs.io/en/latest/use.html#strip-and-configure-input-prompts-for-code-cells
169-
copybutton_prompt_text = "$"
169+
copybutton_prompt_text = "$ "
170170
# https://sphinx-copybutton.readthedocs.io/en/latest/use.html#honor-line-continuation-characters-when-copying-multline-snippets
171171
copybutton_line_continuation_character = "\\"

0 commit comments

Comments
 (0)