mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-18 18:38:18 +00:00
a3d4c49ef1
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.
8 lines
246 B
CSS
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;
|
|
}
|