Table of Contents

Class MarkdownHeading

Namespace
DocToolkit
Assembly
DocToolkit.dll

One heading found in a Markdown document by FindHeading(string, string, StringComparison).

public sealed class MarkdownHeading
Inheritance
MarkdownHeading
Inherited Members

Properties

Anchor

The slug an in-document anchor link to this heading would use — for example changed for a heading reading "Changed".

public string Anchor { get; }

Property Value

string

Level

The heading's level: 1 for #, 2 for ##, and so on.

public int Level { get; }

Property Value

int

Text

The heading's text, with any inline formatting markers stripped.

public string Text { get; }

Property Value

string