Skip to content

Commit 2823475

Browse files
committed
Outdent example, preserving nested fence
1 parent fe0a415 commit 2823475

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/doc/rustdoc/src/what-is-rustdoc.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,21 @@ documentation for them as well!
9898
`rustdoc` can also generate HTML from standalone Markdown files. Let's
9999
give it a try: create a `README.md` file with these contents:
100100

101-
```text
102-
# Docs
101+
````text
102+
# Docs
103103
104-
This is a project to test out `rustdoc`.
104+
This is a project to test out `rustdoc`.
105105
106-
[Here is a link!](https://www.rust-lang.org)
106+
[Here is a link!](https://www.rust-lang.org)
107107
108-
## Subheading
108+
## Subheading
109109
110-
```rust
111-
fn foo() -> i32 {
112-
1 + 1
113-
}
114-
```
110+
```rust
111+
fn foo() -> i32 {
112+
1 + 1
113+
}
115114
```
115+
````
116116

117117
And call `rustdoc` on it:
118118

0 commit comments

Comments
 (0)