doc: small fixes

This commit is contained in:
Tshepang Lekhonkhobe 2018-02-01 03:29:39 +02:00 committed by GitHub
parent 1f4dab3e5c
commit 5d42738a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# mdBook specific markdown # mdBook-specific markdown
## Hiding code lines ## Hiding code lines
There is a feature in mdBook that let's you hide code lines by prepending them with a `#`. There is a feature in mdBook that lets you hide code lines by prepending them with a `#`.
```bash ```bash
# fn main() { # fn main() {
@ -55,7 +55,7 @@ With the following syntax, you can insert runnable Rust files into your book:
The path to the Rust file has to be relative from the current source file. The path to the Rust file has to be relative from the current source file.
When play is clicked, the code snippet will be send to the [Rust Playpen] to be compiled and run. The result is send back and displayed directly underneath the code. When play is clicked, the code snippet will be sent to the [Rust Playpen] to be compiled and run. The result is sent back and displayed directly underneath the code.
Here is what a rendered code snippet looks like: Here is what a rendered code snippet looks like: