Table of Contents

Class Markdown

Namespace
VpnHood.AppUi.Common
Assembly
VpnHood.AppUi.Common.dll

Provides the rendering of the content documents' markdown, the subset they use, to the markup the UI's rich text draws.

public static class Markdown
Inheritance
Markdown
Inherited Members

Methods

Render(string)

Renders a content document: the front matter's title, paragraphs, headings, bullet and numbered lists, bold and links.

public static (string Title, string Markup) Render(string markdown)

Parameters

markdown string

The document.

Returns

(string Title, string Markup)

The document's title, and its markup.

Remarks

Links keep their text only, headings go to four levels, and lists are flat.