MarkdownFormat.Encode Method
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Encodes special Markdown characters in the specified text and writes the encoded content to the specified writer.
public override void Encode(ReadOnlySpan<char> text, TextWriter writer)Parameters
textReadOnlySpan<char>- The text to encode.
writerTextWriter- The TextWriter to write the encoded content to.
Exceptions
- ArgumentNullException
- Thrown when
writerisnull.
