IMarkupFormattableExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IMarkupFormattableExtensions"] class Type type-node

Syntax

public static class IMarkupFormattableExtensions

Methods

Name Return Value Summary
ToFormattedHtml(IMarkupFormattable, TextWriter) void
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.
static
ToFormattedHtml(IMarkupFormattable) string
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.
static