Usage
-
FrontMatter(char delimiter, IEnumerable<IModule> modules)Uses the specified delimiter character and passes any front matter to the specified child modules for processing.
delimiterThe delimiter to use.
modulesThe modules to execute against the front matter.
-
FrontMatter(char delimiter, params IModule[] modules)Uses the specified delimiter character and passes any front matter to the specified child modules for processing.
delimiterThe delimiter to use.
modulesThe modules to execute against the front matter.
-
FrontMatter(IEnumerable<IModule> modules)Uses the default delimiter character and passes any front matter to the specified child modules for processing.
modulesThe modules to execute against the front matter.
-
FrontMatter(params IModule[] modules)Uses the default delimiter character and passes any front matter to the specified child modules for processing.
modulesThe modules to execute against the front matter.
-
FrontMatter(string delimiter, IEnumerable<IModule> modules)Uses the specified delimiter string and passes any front matter to the specified child modules for processing.
delimiterThe delimiter to use.
modulesThe modules to execute against the front matter.
-
FrontMatter(string delimiter, params IModule[] modules)Uses the specified delimiter string and passes any front matter to the specified child modules for processing.
delimiterThe delimiter to use.
modulesThe modules to execute against the front matter.
Fluent Methods
Chain these methods together after the constructor to modify behavior.
-
IgnoreDelimiterOnFirstLine(bool ignore = true)Ignores the delimiter if it appears on the first line. This is useful when processing Jekyll style front matter that has the delimiter both above and below the front matter content. The default behavior is
true.ignoreIf set to
true, ignore the delimiter if it appears on the first line.
