AutoLink.

AutoLink(DocumentConfig) Constructor

Summary

Specifies a dictionary of link mappings given an AngleSharp.Dom.IDocument and Wyam.Common.Execution.IExecutionContext. The return value is expected to be a IDictionary<string, string>. The keys specify strings to search for in the HTML content and the values specify what should be placed in the href attribute. This allows you to specify a different mapping for each input document.
Assembly
Wyam.Html.dll
Namespace
Wyam.Html
Containing Type
AutoLink

Syntax

public AutoLink(DocumentConfig links)

Parameters

Name Type Description
links DocumentConfig A delegate that returns a dictionary of link mappings.

Return Value

Type Description
void
GitHub