API Reference

Class

MarkdownNativeSourceEdit

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

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: String

Applies this edit to the supplied markdown source and returns the edited text.

Parameters

sourceMarkdown System.String requiredposition: 0

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.