Replace.

Replace(string, IModule[]) Constructor

Summary

The specified modules are executed against an empty initial document and the resulting document content replaces all occurrences of the search string in every input document (possibly creating more than one output document for each input document).
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Contents
Containing Type
Replace

Syntax

public Replace(string search, params IModule[] modules)

Parameters

Name Type Description
search string The string to search for.
modules IModule[] Modules that output the content to replace the search string with.

Return Value

Type Description
void
GitHub