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.
- Namespace
- Statiq.Core
- Containing Type
- GenerateExcerpt
Syntax
public GenerateExcerpt WithOuterHtml(bool outerHtml)
Parameters
Name |
Type |
Description |
outerHtml |
bool |
If set to true , outer HTML will be stored. |
Return Value