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
count
singular
: The singular formplural
: The plural formincludeCount
returns
Example
{{ ordinalize }}
Returns an ordinalized number as a string.
Params
val
: The value to ordinalize.returns
: The ordinalized number
Example