prettier/tests/handlebars-comment/comments.hbs

18 lines
290 B
Handlebars

<div>
{{! Foo }}
{{#if @foo}}
Foo
{{/if}}
{{! Bar }}
{{#if @bar}}
Bar
{{/if}}
</div>
<div class="entry">
{{! This comment will not be in the output }}
{{!-- This comment as }} and will not be in the output --}}
<!-- This comment will be in the output -->
</div>