doc: small fixes
This commit is contained in:
parent
1f4dab3e5c
commit
5d42738a79
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue