Allow setting copybutton_prompt_text
for specific codeblocks only
#149
Labels
enhancement
New feature or request
copybutton_prompt_text
for specific codeblocks only
#149
Description / Summary
We're using sphinx-copybutton for our documentation and love it. Thank you very much.
We'd like to allow stripping the prompt text for specific blocks of code but not all of them.
You can see an example here:
https://docs.robusta.dev/master/getting-started/installation.html
I'd like to strip
$
from one code block on that page (and only copy the line with$
). The other code blocks don't contain$
so I'd like to avoid doing any tricks there.Value / benefit
It would make the
copybutton_prompt_text
feature usable for us.Implementation details
No response
Tasks to complete
No response
The text was updated successfully, but these errors were encountered: