diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:38:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:38:03 +0200 |
| commit | 42afa410ae561eb5b267080d088bca529a5d0b54 (patch) | |
| tree | bdea7348daef7409490ba542f9bdec5d52732d03 /library/src/visualize/shape.rs | |
| parent | 8971588486b6ffa9269344b4bda71de86af9d908 (diff) | |
Better documentation outlines
Diffstat (limited to 'library/src/visualize/shape.rs')
| -rw-r--r-- | library/src/visualize/shape.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/visualize/shape.rs b/library/src/visualize/shape.rs index 75f03f67..ca780f90 100644 --- a/library/src/visualize/shape.rs +++ b/library/src/visualize/shape.rs @@ -4,7 +4,7 @@ use crate::prelude::*; /// A rectangle with optional content. /// -/// ## Example +/// ## Example { #example } /// ```example /// // Without content. /// #rect(width: 35%, height: 30pt) @@ -180,7 +180,7 @@ impl Layout for RectElem { /// A square with optional content. /// -/// ## Example +/// ## Example { #example } /// ```example /// // Without content. /// #square(size: 40pt) @@ -291,7 +291,7 @@ impl Layout for SquareElem { /// An ellipse with optional content. /// -/// ## Example +/// ## Example { #example } /// ```example /// // Without content. /// #ellipse(width: 35%, height: 30pt) @@ -374,7 +374,7 @@ impl Layout for EllipseElem { /// A circle with optional content. /// -/// ## Example +/// ## Example { #example } /// ```example /// // Without content. /// #circle(radius: 25pt) |
