API Reference
Class
MarkdownNativeSourceEdit
Non-mutating source edit derived from a native markdown source span.
Inheritance
- Object
- MarkdownNativeSourceEdit
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public String Apply(String sourceMarkdown) #Returns:
StringApplies this edit to the supplied markdown source and returns the edited text.
Parameters
- sourceMarkdown System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public MarkdownSourceSpan SourceSpan { get; } #Source span this edit replaces.
public Int32 StartOffset { get; } #0-based inclusive start offset in the source markdown.
public Int32 EndOffsetInclusive { get; } #0-based inclusive end offset in the source markdown.
public String ReplacementMarkdown { get; } #Replacement markdown.