Merge pull request #601 from tshepang/patch-1

doc: small fixes
This commit is contained in:
Mathieu David 2018-02-01 11:31:55 +01:00 committed by GitHub
commit 3d83b784b3
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
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
# 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.
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: