summaryrefslogtreecommitdiff
path: root/library/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout')
-rw-r--r--library/src/layout/container.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/layout/container.rs b/library/src/layout/container.rs
index 8a772f2d..afbce576 100644
--- a/library/src/layout/container.rs
+++ b/library/src/layout/container.rs
@@ -110,13 +110,13 @@ impl Inline for BoxNode {}
///
/// ## Example
/// ```
-/// [
+/// #[
/// #show heading: it => it.title
/// = No block
/// Some text
/// ]
///
-/// [
+/// #[
/// #show heading: it => block(it.title)
/// = Block
/// Some more text