OfficeIMO

API Reference

Class

MarkdownReaderPipeline

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

Ordered collection of block parsers that the reader consults at each position.

Inheritance

  • Object
  • MarkdownReaderPipeline

Constructors

Methods

public MarkdownReaderPipeline Add(IMarkdownBlockParser parser) #
Returns: MarkdownReaderPipeline

Add a parser to the end of the pipeline.

Parameters

parser OfficeIMO.Markdown.IMarkdownBlockParser requiredposition: 0
public static MarkdownReaderPipeline Default(MarkdownReaderOptions options = null) #
Returns: MarkdownReaderPipeline

Default pipeline covering the syntax OfficeIMO.Markdown emits today.

Parameters

options OfficeIMO.Markdown.MarkdownReaderOptions = null optionalposition: 0
public MarkdownReaderPipeline Insert(Int32 index, IMarkdownBlockParser parser) #
Returns: MarkdownReaderPipeline

Insert a parser at the given index in the pipeline.

Parameters

index System.Int32 requiredposition: 0
parser OfficeIMO.Markdown.IMarkdownBlockParser requiredposition: 1

Properties

public IReadOnlyList<IMarkdownBlockParser> Parsers { get; } #

Gets the ordered list of block parsers.