diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /library/src/visualize/image.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/visualize/image.rs')
| -rw-r--r-- | library/src/visualize/image.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/visualize/image.rs b/library/src/visualize/image.rs index 0ce3f20b..a3eb32a5 100644 --- a/library/src/visualize/image.rs +++ b/library/src/visualize/image.rs @@ -4,16 +4,17 @@ use typst::image::{Image, ImageFormat, RasterFormat, VectorFormat}; use crate::prelude::*; +/// # Image /// Show a raster or vector graphic. /// /// Supported formats are PNG, JPEG, GIF and SVG. /// -/// # Parameters +/// ## Parameters /// - path: EcoString (positional, required) /// Path to an image file. /// -/// # Tags -/// - visualize +/// ## Category +/// visualize #[func] #[capable(Layout, Inline)] #[derive(Debug, Hash)] |
