DocumentExtensions.

ParseHtml(IDocument, HtmlParser) Method

Summary

Gets an AngleSharp.Html.Dom.IHtmlDocument by parsing the content of an Wyam.Common.Documents.IDocument.
Assembly
Wyam.Html.dll
Namespace
Wyam.Html
Containing Type
DocumentExtensions

Syntax

public static IHtmlDocument ParseHtml(this IDocument document, HtmlParser parser)

Parameters

Name Type Description
document IDocument The document to parse.
parser HtmlParser A parser instance.

Return Value

Type Description
IHtmlDocument The parsed HTML document.
GitHub