From 3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 12 Feb 2023 18:58:39 +0100 Subject: Make all nodes block-level --- library/src/math/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'library/src/math') diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 105940c7..85bf56ca 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -141,7 +141,7 @@ pub fn module() -> Module { /// ## Category /// math #[func] -#[capable(Show, Finalize, Layout, Inline, LayoutMath)] +#[capable(Show, Finalize, Layout, LayoutMath)] #[derive(Debug, Clone, Hash)] pub struct FormulaNode { /// Whether the formula is displayed as a separate block. @@ -229,8 +229,6 @@ impl Layout for FormulaNode { } } -impl Inline for FormulaNode {} - #[capability] pub trait LayoutMath { fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()>; -- cgit v1.2.3