diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-11 20:01:56 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-11 20:01:56 +0100 |
| commit | 1a390deaea040191cf0e5937bd8e1427b49db71b (patch) | |
| tree | c45b034b7f3179170c649ceac6124ed4666ffd5c /library/src/visualize | |
| parent | 529d3e10c6b4d973e88b6c295eb22a45ea426e42 (diff) | |
Figures
Diffstat (limited to 'library/src/visualize')
| -rw-r--r-- | library/src/visualize/image.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/library/src/visualize/image.rs b/library/src/visualize/image.rs index 78f477f6..29a04c96 100644 --- a/library/src/visualize/image.rs +++ b/library/src/visualize/image.rs @@ -11,11 +11,13 @@ use crate::prelude::*; /// /// ## Example /// ```example -/// #align(center)[ -/// #image("molecular.jpg", width: 80%) -/// *A step in the molecular testing -/// pipeline of our lab* -/// ] +/// #figure( +/// image("molecular.jpg", width: 80%), +/// caption: [ +/// A step in the molecular testing +/// pipeline of our lab. +/// ], +/// ) /// ``` /// /// Display: Image |
