Skip to content

Commit

Permalink
remove regex that breaks copy button (NixOS#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
proofconstruction authored Aug 24, 2023
1 parent fb0f268 commit 92e4e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

myst_number_code_blocks = [ "nix", "python" ]

copybutton_prompt_text = r"# |\$ "
copybutton_prompt_text = r"\$ "
copybutton_prompt_is_regexp = True

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit 92e4e1e

Please sign in to comment.