about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustdoc/src/what-is-rustdoc.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustdoc/src/what-is-rustdoc.md b/src/doc/rustdoc/src/what-is-rustdoc.md
index 09bf8f388e2..54472e35b1b 100644
--- a/src/doc/rustdoc/src/what-is-rustdoc.md
+++ b/src/doc/rustdoc/src/what-is-rustdoc.md
@@ -98,6 +98,7 @@ 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
 
     This is a project to test out `rustdoc`.
@@ -111,6 +112,7 @@ give it a try: create a `README.md` file with these contents:
         1 + 1
     }
     ```
+```
 
 And call `rustdoc` on it: