Files
Wez Furlong a3d4c49ef1 docs: avoid copying $ prefixes from console code blocks
Rather than using `bash` for the mix of shell and output,
use `console`. That will cause the text to be marked up so
that the `$` prompt stuff won't get selected by dragging.

Enable copy button to copy the whole block, and add some
js to filter out the the $ and # prefixes from that content.
2023-03-14 10:17:55 -07:00

8 lines
246 B
CSS

/* prevent selection of prefix and output for console syntax */
.language-console .gp, .language-console .go {
user-select: none;
-webkit-user-select: none; /* Chrome/Safari */
-ms-user-select: none; /* IE10+ */
color: !important pink;
}