Excerpt.

WithOuterHtml(bool) Method

Summary

Controls whether the inner HTML (not including the containing element's HTML) or outer HTML (including the containing element's HTML) of the first result from the query selector is added to metadata. The default is true, which gets the outer HTML content. This setting has no effect if a separator comment is found.
Assembly
Wyam.Html.dll
Namespace
Wyam.Html
Containing Type
Excerpt

Syntax

public Excerpt WithOuterHtml(bool outerHtml)

Parameters

Name Type Description
outerHtml bool If set to true, outer HTML will be stored.

Return Value

Type Description
Excerpt The current module instance.
GitHub