summaryrefslogtreecommitdiff
path: root/library/src/text/raw.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-20 16:08:16 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-20 16:11:37 +0100
commitf5f7df7247ae29800e0290774a50942e2485beea (patch)
tree57253ba51efdae3ac8e4eea722428924625b514c /library/src/text/raw.rs
parentb8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff)
Documentation
Diffstat (limited to 'library/src/text/raw.rs')
-rw-r--r--library/src/text/raw.rs7
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)]