Class
MarkdownNativeSourceEdit
OfficeIMO.Markdown
Non-mutating source edit derived from a native markdown source span.
Inheritance
- object
- MarkdownNativeSourceEdit
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 2
Methods
public string Apply(string sourceMarkdown) #Applies this edit to the supplied markdown source and returns the edited text.
Parameters
- sourceMarkdown string
Returns
stringInherited Methods
Properties
public MarkdownSourceSpan SourceSpan { get; } #Source span this edit replaces.
public int StartOffset { get; } #0-based inclusive start offset in the source markdown.
public int EndOffsetInclusive { get; } #0-based inclusive end offset in the source markdown.
public MarkdownOriginalSourceSliceFailureReason? OriginalSourceFailureReason { get; } #Known reason this edit cannot be applied to original reader input byte-for-byte, when the edit target is already known to be non-original.