Copying the CLI code includes the $ sign
14slash12 opened this issue · comments
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- $
- copy
- copying code
- cli
URL to the section(s) of the book with this problem:
e.g. in Chapter 1.2.
See: https://arc.net/l/quote/nfbvbeuc
Description of the problem:
When pressing the copy button the $ is also included, i.e. the user can't use the code directly
Suggested fix:
Make the copy function only copy the code without the $ sign
Hi, a search for "dollar" returns these duplicate issues https://github.com/search?q=repo%3Arust-lang%2Fbook+dollar&type=issues
And reading those you'll find that this is something we'd like to see resolved in mdbook.
Sorry, I did not find it right away. Thanks anyway! 👍