You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, great library!
Would it be possible to ignore line breaks in a template when a line only contains a single {{# tag?
This would mean you could write:
enum {{enumName}} {
{{#enums}}
case {{name}} = "{{value}}"
{{/enums}}
}
instead of
enum {{enumName}} { {{#enums}}
case {{name}} = "{{value}}"{{/enums}}
}
where you would want each case of that enum to be on a seperate line with no empty lines in between.
It greatly cleans up mustache template files, especially if you have many nested loops
The text was updated successfully, but these errors were encountered:
Well, the source code is here, ready to be modified. Make sure you don't change the runtime just for your convenience, because what's good for you may be a pain for another user. Instead, look at the mustache standard, and plan well your modifications. Ask @fumito-ito if he plans to merge them in the repository before you open a pull request. Happy coding!
Hey, great library!
Would it be possible to ignore line breaks in a template when a line only contains a single {{# tag?
This would mean you could write:
instead of
where you would want each case of that enum to be on a seperate line with no empty lines in between.
It greatly cleans up mustache template files, especially if you have many nested loops
The text was updated successfully, but these errors were encountered: