Outdent example, preserving nested fence
This commit is contained in:
parent
fe0a415b4b
commit
28234751bc
@ -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:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user