hbs-beautify

Beautify Handlebars code and comments. Supports Handlebar tags within comments. Use {{!--...--}}

jaichandra

8,430

1

0.2.0

MIT

GitHub

hbs-beautify

Beautify Handlebars code and comments. Supports Handlebar tags within comments. Use {{!--...--}}

atom-beautify's handlebars formatting breaks if handlebars comments contain inline tags {{...}}. This package adds support for including handlebars tags inside comments without breaking formatting. Long commenting standard ({{!--...--}}) needs to be used for formatting to work with inline tags.

Example

{{!--
  foo partial comments
  Example:
  {{> foo-partial}}
--}}

Keyboard shortcut: ctrl-alt-[