ToFormattedHtml(IMarkupFormattable) Method
Calls IMarkupFormattable.ToHtml using the StatiqMarkupFormatter so that processing instructions and character references are properly handled. This should be used for serialization when ParseHtmlAsync(IDocument, bool) is used.
Namespace
Statiq.Common
Containing Type
IMarkupFormattableExtensions

Syntax

public static string ToFormattedHtml(this IMarkupFormattable markupFormattable)

Parameters

Name Type Description
markupFormattable IMarkupFormattable

Return Value

Type Description
string