summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/math/equation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/math/equation.rs')
-rw-r--r--crates/typst-library/src/math/equation.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-library/src/math/equation.rs b/crates/typst-library/src/math/equation.rs
index 1e346280..32be216a 100644
--- a/crates/typst-library/src/math/equation.rs
+++ b/crates/typst-library/src/math/equation.rs
@@ -20,7 +20,9 @@ use crate::text::{FontFamily, FontList, FontWeight, LocalName, TextElem};
/// A mathematical equation.
///
-/// Can be displayed inline with text or as a separate block.
+/// 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.
///
/// # Example
/// ```example