Markdown Class

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Provides utility methods for encoding and decoding Markdown special characters.
public static class Markdown
Inheritance

Methods

Decode(string)Decodes escaped Markdown special characters in the given text.
Decode(ReadOnlySpan<char>, TextWriter)Decodes escaped Markdown special characters in the given text and writes the result to the specified TextWriter.
Encode(string, bool)Encodes Markdown special characters in the given text.
Encode(ReadOnlySpan<char>, TextWriter, bool)Encodes Markdown special characters in the given text and writes the result to the specified TextWriter.
GetMinimumFenceBackticks(ReadOnlySpan<char>)Determines the minimum number of backticks required to fence code in Markdown.
NeedsEncoding(char, bool)Determines whether the specified character is a Markdown special character that requires escaping.