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
- I
Markup Formattable Extensions
Syntax
public static void ToFormattedHtml(this IMarkupFormattable markupFormattable, TextWriter writer)
Parameters
Name | Type | Description |
---|---|---|
markupFormattable | IMarkupFormattable | |
writer | TextWriter |