summaryrefslogtreecommitdiff
path: root/library/src/text/raw.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-17 14:38:03 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-17 14:38:03 +0200
commit42afa410ae561eb5b267080d088bca529a5d0b54 (patch)
treebdea7348daef7409490ba542f9bdec5d52732d03 /library/src/text/raw.rs
parent8971588486b6ffa9269344b4bda71de86af9d908 (diff)
Better documentation outlines
Diffstat (limited to 'library/src/text/raw.rs')
-rw-r--r--library/src/text/raw.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs
index db437481..796180b4 100644
--- a/library/src/text/raw.rs
+++ b/library/src/text/raw.rs
@@ -14,7 +14,7 @@ use crate::prelude::*;
/// Displays the text verbatim and in a monospace font. This is typically used
/// to embed computer code into your document.
///
-/// ## Example
+/// ## Example { #example }
/// ````example
/// Adding `rbx` to `rcx` gives
/// the desired result.
@@ -26,7 +26,7 @@ use crate::prelude::*;
/// ```
/// ````
///
-/// ## Syntax
+/// ## Syntax { #syntax }
/// This function also has dedicated syntax. You can enclose text in 1 or 3+
/// backticks (`` ` ``) to make it raw. Two backticks produce empty raw text.
/// When you use three or more backticks, you can additionally specify a