comrak/parser/
math.rs

1/// An inline math span
2#[derive(Debug, Clone, PartialEq, Eq)]
3pub struct NodeMath {
4    /// Whether this is dollar math (`$` or `$$`).
5    /// `false` indicates it is code math
6    pub dollar_math: bool,
7
8    /// Whether this is display math (using `$$`)
9    pub display_math: bool,
10
11    /// The literal contents of the math span.    
12    /// As the contents are not interpreted as Markdown at all,
13    /// they are contained within this structure,
14    /// rather than inserted into a child inline of any kind.
15    pub literal: String,
16}