- Quotes
- Properties
[ Alignment ]
- Comments
Double or single quotes
- Flexible, use what's comfortable
- DO NOT go back to change code to fit your styling
Bad
N/A
Good
{{ash-plugin
message="this is the message"
}}
or
{{ash-plugin
message='this is the message'
}}
Line properties vertically
Bad
{{ash-plugin message="this is the message" isNew=true list=[1,4,5,8] foo=(action 'bar')}}
Good
{{ash-plugin
message="this is the message"
isNew=true
list=[1,4,5,8]
foo=(action 'bar')
}}
Comments
- Only acceptable comment structure is curly brackets with exclaimation point after the opening curly baracket.
Bad
<!-- this is NOT an appropriate handlebars comment -->
Good
{{! this IS and appropriate handlebars comment }}