From 89da441f4fe73b66fd7f83467d14cd9a55a805c1 Mon Sep 17 00:00:00 2001 From: mewmew Date: Sat, 12 Jul 2025 13:58:13 +0200 Subject: [PATCH] Use "whitespace" instead of "space" to denote block-level equation in docs --- crates/typst-library/src/math/equation.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/typst-library/src/math/equation.rs b/crates/typst-library/src/math/equation.rs index a2ae54471..0f8fb6c37 100644 --- a/crates/typst-library/src/math/equation.rs +++ b/crates/typst-library/src/math/equation.rs @@ -20,8 +20,8 @@ use crate::text::{FontFamily, FontList, FontWeight, LocalName, TextElem}; /// A mathematical equation. /// /// Can be displayed inline with text or as a separate block. An equation -/// becomes block-level through the presence of at least one space after the -/// opening dollar sign and one space before the closing dollar sign. +/// becomes block-level through the presence of at least one whitespace after +/// the opening dollar sign and one whitespace before the closing dollar sign. /// /// # Example /// ```example @@ -42,7 +42,7 @@ use crate::text::{FontFamily, FontList, FontWeight, LocalName, TextElem}; /// # Syntax /// This function also has dedicated syntax: Write mathematical markup within /// dollar signs to create an equation. Starting and ending the equation with at -/// least one space lifts it into a separate block that is centered +/// least one whitespace lifts it into a separate block that is centered /// horizontally. For more details about math syntax, see the /// [main math page]($category/math). #[elem(Locatable, Synthesize, ShowSet, Count, LocalName, Refable, Outlinable)]