summaryrefslogtreecommitdiff
path: root/library/src/basics/list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/basics/list.rs')
-rw-r--r--library/src/basics/list.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/src/basics/list.rs b/library/src/basics/list.rs
index 15b26169..ca60576c 100644
--- a/library/src/basics/list.rs
+++ b/library/src/basics/list.rs
@@ -3,9 +3,10 @@ use crate::layout::{BlockNode, GridNode, HNode, ParNode, Spacing, TrackSizing};
use crate::prelude::*;
use crate::text::{SpaceNode, TextNode};
+/// # List
/// An unordered (bulleted) or ordered (numbered) list.
///
-/// # Parameters
+/// ## Parameters
/// - items: Content (positional, variadic)
/// The contents of the list items.
///
@@ -16,7 +17,7 @@ use crate::text::{SpaceNode, TextNode};
/// Makes the list more compact, if enabled. This looks better if the items
/// fit into a single line each.
///
-/// # Example
+/// ### Example
/// ```
/// #show columns.with(2)
/// #list(tight: true)[Tight][List]
@@ -24,8 +25,8 @@ use crate::text::{SpaceNode, TextNode};
/// #list(tight: false)[Wide][List]
/// ```
///
-/// # Tags
-/// - basics
+/// ## Category
+/// basics
#[func]
#[capable(Layout)]
#[derive(Debug, Hash)]