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/text/raw.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/text/raw.rs')
| -rw-r--r-- | library/src/text/raw.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 55c29298..240f82e8 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -6,17 +6,18 @@ use super::{FontFamily, Hyphenate, LinebreakNode, TextNode}; use crate::layout::BlockNode; use crate::prelude::*; +/// # Raw Text /// Raw text with optional syntax highlighting. /// -/// # Parameters +/// ## Parameters /// - text: EcoString (positional, required) /// The raw text. /// /// - block: bool (named) /// Whether the raw text is displayed as a separate block. /// -/// # Tags -/// - text +/// ## Category +/// text #[func] #[capable(Show)] #[derive(Debug, Hash)] |
