docs: prompts in shell sessions shouldn’t be selectable
these just indicate the start of the prompt by convention & if the user is root or not with `#` & `$` respectively Change-Id: Id65f5f879b067ee96715b3e7dc63f68c7ad791b8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11868 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
cd48566173
commit
fbce56b849
2 changed files with 8 additions and 1 deletions
|
@ -22,4 +22,4 @@ after = ["links"] # ensure `{{#include}}` also gets processed
|
||||||
[output]
|
[output]
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
additional-css = ["./mdbook-admonish.css"]
|
additional-css = ["./mdbook-admonish.css", "./mdbook-extra.css"]
|
||||||
|
|
7
tvix/docs/mdbook-extra.css
Normal file
7
tvix/docs/mdbook-extra.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
@charset "utf-8";
|
||||||
|
|
||||||
|
.hljs-meta.prompt_ {
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
Loading…
Reference in a new issue