Skip to content

Commit

Permalink
Outdent example, preserving nested fence
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrabe committed Apr 23, 2019
1 parent fe0a415 commit 2823475
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/doc/rustdoc/src/what-is-rustdoc.md
Expand Up @@ -98,21 +98,21 @@ documentation for them as well!
`rustdoc` can also generate HTML from standalone Markdown files. Let's
give it a try: create a `README.md` file with these contents:

```text
# Docs
````text
# 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
fn foo() -> i32 {
1 + 1
}
```
```rust
fn foo() -> i32 {
1 + 1
}
```
````

And call `rustdoc` on it:

Expand Down

0 comments on commit 2823475

Please sign in to comment.