Class MarkdownUtilities

Contains a few static utilities for Markdown handling

System.Object
  MarkdownMonster.MarkdownUtilities
public class MarkdownUtilities : object

Class Members

MemberDescription

Constructor

YamlExtractionRegex

AddLinkReference

Adds a Link Reference into the Markdown document based on a selected region in the document

public static LinkReferenceResult AddLinkReference(string md,     SelectionRange selectionRange,     string link)

ExtractFrontMatter

Returns Front Matter Yaml block content as a string

public static string ExtractFrontMatter(string markdown)

HtmlToMarkdown

Converts an HTML string to Markdown.

public static string HtmlToMarkdown(string html,     bool noErrorUI)

StripFrontMatter

Strips

public static string StripFrontMatter(string markdown)

Requirements

Namespace: MarkdownMonster
Assembly: markdownmonster.exe

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic