API Reference
MarkdownInlineTransformContext
Context passed to post-parse inline transform extensions.
Inheritance
- Object
- MarkdownInlineTransformContext
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
public Nullable<MarkdownSourceSpan> GetSourceSpan(IMarkdownInline inline) #Nullable<MarkdownSourceSpan>Returns the source span associated with an inline node, when the node came from parsed Markdown source.
Parameters
- inline OfficeIMO.Markdown.IMarkdownInline
public Boolean TryCreateSourceSlice(MarkdownSourceSpan sourceSpan, out MarkdownSourceSlice slice) #BooleanCreates a normalized source slice for an inline node, when the node came from parsed Markdown source.
Parameters
- inline OfficeIMO.Markdown.IMarkdownInline
- slice OfficeIMO.Markdown.MarkdownSourceSlice@
TryCreateSourceSlice(OfficeIMO.Markdown.MarkdownSourceSpan sourceSpan, OfficeIMO.Markdown.MarkdownSourceSlice@ slice) #Creates a normalized source slice for a token or field source span captured during inline parsing.
Parameters
- sourceSpan OfficeIMO.Markdown.MarkdownSourceSpan
- slice OfficeIMO.Markdown.MarkdownSourceSlice@
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String SourceText { get; } #Inline source text for the root inline parse that produced the current sequence. For nested inline containers this remains the root inline source slice.
public MarkdownReaderOptions Options { get; } #Reader options active for the current parse.
public Boolean IsNestedSequence { get; } #Returns true when the transform is visiting a nested inline container sequence.