Inflection Operators
When we need to work with inflection, these operators will help with your markdown.
List of Operators
{{ inflect }}
Returns either the singular or plural inflection of a word based on the given count.
Params
countsingular: The singular formplural: The plural formincludeCountreturns
Example
{{ ordinalize }}
Returns an ordinalized number as a string.
Params
val: The value to ordinalize.returns: The ordinalized number
Example