Specifies the member renamer used for renaming document metadata keys,
properties and methods when used in Scriban templates. The standard Scriban
member renamer will make a camel/pascalcase name changed by `_` and lowercase.
e.g `ThisIsAnExample` becomes `this_is_an_example`.
- Namespace
- Statiq.Scriban
- Containing Type
- RenderScriban
Syntax
public RenderScriban WithMemberRenamer(MemberRenamerDelegate renamer)
Parameters
Name |
Type |
Description |
renamer |
MemberRenamerDelegate |
A delegate that returns the new name of a member. |
Return Value