IMarkupFormattableExtensions Class
Namespace
Statiq.Common
Base Types
  • object
IMarkupFormattableExtensions
object

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