Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MathInline

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

TeX math inline parsed from $...$ or $$...$$ when MarkdownLoadOptions.Math is enabled.

Inheritance

Remarks

The node carries TeX source only. Converters lay it out through their own math engines, and HTML output keeps \(...\) or \[...\] delimiters for client-side renderers such as KaTeX or MathJax.

Constructors

public MathInline(string source, bool isDisplay = false) #

Creates an inline math node.

Parameters

source string required
TeX source without delimiters.
isDisplay bool = false optional
Whether the source used display delimiters ($$...$$).

Properties

public string Source { get; } #

TeX source without delimiters.

public bool IsDisplay { get; } #

Whether the math uses display style ($$...$$).

public MarkdownSourceSpan? ContentSourceSpan { get; internal set; } #

Source span for the TeX source between the delimiters when parsed from Markdown.