Closed compozitor closed 8 months ago
You can also add the possibility with what number to start numbering {{number = 0}} or {{number = 1}}.
Closing this because this repository is about the website and not about the Mustache template language. Please take comments about the template language to https://github.com/mustache/spec/discussions.
Regarding this particular topic, you can find previous discussions via https://github.com/mustache/spec/discussions/163, https://github.com/mustache/spec/discussions/153 and https://github.com/mustache/spec/discussions/164.
It would be nice to automatically add line numbers in the loop. You can add the keyword {{*number}} or whatever. For example:
Template:
Output: