ProcessHtml(string, Action<IDocument, IExecutionContext, IElement, Dictionary<string, object>>) Constructor
Creates the module with the specified query selector and processing function.
Namespace
Statiq.Core
Containing Type
ProcessHtml

Syntax

public ProcessHtml(string querySelector, Action<IDocument, IExecutionContext, IElement, Dictionary<string, object>> processElement)

Parameters

Name Type Description
querySelector string The query selector to use.
processElement Action<IDocument, IExecutionContext, IElement, Dictionary<string, object>> A delegate to apply to each found element. The Dictionary<TKey, TValue> holds any additional metadata that should be added to the document.