diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:39:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:39:20 +0100 |
| commit | 10b17a04bc27a4b38a0534446d29151d4f6303b3 (patch) | |
| tree | b2d27d662822a969c6cb3718a1cc05908f8731a7 /library/src/text | |
| parent | fd90736fb6239409210f845a8589ba3d6b849ef3 (diff) | |
Fix docs
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/raw.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index e87d82e9..d29cb7bf 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -63,12 +63,13 @@ use crate::prelude::*; /// ````example /// // Display inline code in a small box /// // that retains the correct baseline. -/// #show raw.where(block: false): rect.with( +/// #show raw.where(block: false): it => box(rect( /// fill: luma(240), /// inset: (x: 3pt, y: 0pt), /// outset: (y: 3pt), /// radius: 2pt, -/// ) +/// it, +/// )) /// /// // Display block code in a larger box /// // with more padding. |
