diff --git a/crates/mdbook-html/front-end/css/chrome.css b/crates/mdbook-html/front-end/css/chrome.css index ce7fe04820..2a3445373c 100644 --- a/crates/mdbook-html/front-end/css/chrome.css +++ b/crates/mdbook-html/front-end/css/chrome.css @@ -266,7 +266,7 @@ pre > .buttons button { pre > .buttons button.clip-button { padding: 2px 4px 0px 6px; } -pre > .buttons button.clip-button::before { +.clip-button::before { /* clipboard image from octicons (https://github.com/primer/octicons/tree/v2.0.0) MIT license */ content: url('data:image/svg+xml,Escape key will remove th mdBook books are often used for programming projects, and thus support highlighting code blocks and samples. Code blocks may contain several different icons for interacting with them: + + | Icon | Description | |------|-------------| -| | Copies the code block into your local clipboard, to allow pasting into another application. | +| | Copies the code block into your local clipboard, to allow pasting into another application. | | | For Rust code examples, this will execute the sample code and display the compiler output just below the example (see [playground]). | | | For Rust code examples, this will toggle visibility of "hidden" lines. Sometimes, larger examples will hide lines which are not particularly relevant to what is being illustrated (see [hiding code lines]). | | | For [editable code examples][editor], this will undo any changes you have made. |