Outdent example, preserving nested fence

This commit is contained in:
Felix Rabe 2019-04-23 20:27:09 +02:00
parent fe0a415b4b
commit 28234751bc

View File

@ -98,21 +98,21 @@ documentation for them as well!
`rustdoc` can also generate HTML from standalone Markdown files. Let's `rustdoc` can also generate HTML from standalone Markdown files. Let's
give it a try: create a `README.md` file with these contents: give it a try: create a `README.md` file with these contents:
```text ````text
# Docs # Docs
This is a project to test out `rustdoc`. This is a project to test out `rustdoc`.
[Here is a link!](https://www.rust-lang.org) [Here is a link!](https://www.rust-lang.org)
## Subheading ## Subheading
```rust ```rust
fn foo() -> i32 { fn foo() -> i32 {
1 + 1 1 + 1
} }
```
``` ```
````
And call `rustdoc` on it: And call `rustdoc` on it: