Disable the playground run button by default for code blocks

Most example code in RFCs is not written with executability in mind, so having the "Run" button available by default on all RFCs seems a bit misleading.
This now disables the playground for the whole book (which also removes the "hidden" code mdbook inserts). It thus only leaves the copy button.
This commit is contained in:
Jan-Erik Rediger 2022-11-07 18:49:08 +01:00 committed by GitHub
parent 01d542fa57
commit f2736c9079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@ git-repository-url = "https://github.com/rust-lang/rfcs"
[output.html.search] [output.html.search]
heading-split-level = 0 heading-split-level = 0
[output.html.playground]
runnable = false