InsertLinks(Config<IDictionary<string, string>>) Constructor
Specifies a dictionary of link mappings given an IDocument and 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.
Namespace
Statiq.Core
Containing Type
InsertLinks

Syntax

public InsertLinks(Config<IDictionary<string, string>> links)

Parameters

Name Type Description
links Config<IDictionary<string, string>> A delegate that returns a dictionary of link mappings.