Table of Contents

Method ToMarkdown

Namespace
LMKit.Document.Parsing
Assembly
LM-Kit.NET.dll

ToMarkdown()

Renders the element as Markdown, as it appears in its page's rendering: a heading with its marks, a table as HTML, a formula fenced, a chart as its data table under its caption and legend. Empty for an element the page rendering leaves out.

public string ToMarkdown()

Returns

string

The Markdown text of the element.

ToMarkdown(MarkdownConventions)

Renders the element as Markdown as ToMarkdown() does, under the notation conventions conventions sets in place of the parser's (MarkdownConventions).

public string ToMarkdown(MarkdownConventions conventions)

Parameters

conventions MarkdownConventions

The notation conventions; null for Standard.

Returns

string

The Markdown text of the element.

Share