API Reference
Class
MarkdownReader
Block parsing helpers for MarkdownReader.
Inheritance
- Object
- MarkdownReader
Methods
public static MarkdownDoc Parse(String markdown, MarkdownReaderOptions options = null) #Returns:
MarkdownDocParses Markdown text into a MarkdownDoc with typed blocks and basic inlines.
Parameters
- markdown System.String
- options OfficeIMO.Markdown.MarkdownReaderOptions = null
public static InlineSequence ParseInlineText(String text, MarkdownReaderOptions options = null) #Returns:
InlineSequenceParses a single line of Markdown inline content into a typed InlineSequence. This helper is exposed to allow other components (e.g., Word converter) to interpret inline markup in contexts like table cells where we currently store raw strings.
Parameters
- text System.String
- Inline Markdown text.
- options OfficeIMO.Markdown.MarkdownReaderOptions = null
- Reader options controlling inline interpretation.
Returns
Parsed sequence of inline nodes.
public static MarkdownParseResult ParseWithSyntaxTree(String markdown, MarkdownReaderOptions options = null) #Returns:
MarkdownParseResultParses Markdown text into both the object model and a lightweight syntax tree with source spans.
Parameters
- markdown System.String
- options OfficeIMO.Markdown.MarkdownReaderOptions = null
public static MarkdownParseResult ParseWithSyntaxTreeAndDiagnostics(String markdown, MarkdownReaderOptions options = null) #Returns:
MarkdownParseResultParses Markdown text into the object model, original syntax tree, and document-transform diagnostics.
Parameters
- markdown System.String
- options OfficeIMO.Markdown.MarkdownReaderOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object