Headings.

WithHeadingKey(string) Method

Summary

Sets the key to use for storing the heading content in the heading documents. The default is null which means only store the heading content in the content of the heading document. Setting this can be useful when you want to use the heading documents in downstream modules, setting their content to something else while maintaining the heading content in metadata.
Assembly
Wyam.Html.dll
Namespace
Wyam.Html
Containing Type
Headings

Syntax

public Headings WithHeadingKey(string headingKey)

Parameters

Name Type Description
headingKey string The key to use for the heading content.

Return Value

Type Description
Headings The current module instance.
GitHub