summaryrefslogtreecommitdiff
path: root/src/library/par.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/par.rs')
-rw-r--r--src/library/par.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/par.rs b/src/library/par.rs
index a7db46de..0467af44 100644
--- a/src/library/par.rs
+++ b/src/library/par.rs
@@ -1,6 +1,6 @@
use super::*;
-/// `paragraph`: Configure paragraphs.
+/// `par`: Configure paragraphs.
///
/// # Positional parameters
/// - Body: optional, of type `template`.
@@ -19,7 +19,7 @@ pub fn par(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value {
let word_spacing = args.get(ctx, "word-spacing");
let body = args.find::<TemplateValue>(ctx);
- Value::template("paragraph", move |ctx| {
+ Value::template("par", move |ctx| {
let snapshot = ctx.state.clone();
if let Some(spacing) = spacing {