AutoLink.

AutoLink(ContextConfig) Constructor

Summary

Specifies a dictionary of link mappings given an 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 uses the same link mappings for all input documents.
Assembly
Wyam.Html.dll
Namespace
Wyam.Html
Containing Type
AutoLink

Syntax

public AutoLink(ContextConfig links)

Parameters

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

Return Value

Type Description
void
GitHub