summaryrefslogtreecommitdiff
path: root/library/src/layout/transform.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/transform.rs')
-rw-r--r--library/src/layout/transform.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/src/layout/transform.rs b/library/src/layout/transform.rs
index 2fb9c191..e3622ac5 100644
--- a/library/src/layout/transform.rs
+++ b/library/src/layout/transform.rs
@@ -8,7 +8,7 @@ use crate::prelude::*;
/// it at the original positions. Containers will still be sized as if the content
/// was not moved.
///
-/// ## Example
+/// ## Example { #example }
/// ```example
/// #rect(inset: 0pt, move(
/// dx: 6pt, dy: 6pt,
@@ -58,7 +58,7 @@ impl Layout for MoveElem {
/// Rotate an element by a given angle. The layout will act as if the element
/// was not rotated.
///
-/// ## Example
+/// ## Example { #example }
/// ```example
/// #stack(
/// dir: ltr,
@@ -131,7 +131,7 @@ impl Layout for RotateElem {
/// affecting the layout.
///
///
-/// ## Example
+/// ## Example { #example }
/// ```example
/// #set align(center)
/// #scale(x: -100%)[This is mirrored.]