Open casid opened 1 year ago
Content blocks with more than one line should be formatted, so that @` and ` are moved on their own line, and the content is indented.
@`
`
For example
Before
!{var content = @`<a href="${url}" target="_blank" class="${anchorClass}"> ${url} </a>`;}
After
!{var content = @` <a href="${url}" target="_blank" class="${anchorClass}"> ${url} </a> `;}
Template calls where parameters spawn multiple lines should be indented.
@template.foo.bar( hello = "Hello", world = "World" )
Content blocks
Content blocks with more than one line should be formatted, so that
@`
and`
are moved on their own line, and the content is indented.For example
Before
After
Template calls
Template calls where parameters spawn multiple lines should be indented.
For example
Before
After