-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handlebars support #13
Comments
This was referenced Jun 13, 2014
defaultOptions.indent_handlebars = true; // jshint ignore: line |
Working! Before: {{#if}}
{{#each}}
{{#if}}
content
{{/if}}
{{#if}}
content
{{/if}}
{{/each}}
{{/if}} After: {{#if}}
{{#each}}
{{#if}}
content
{{/if}}
{{#if}}
content
{{/if}}
{{/each}}
{{/if}} |
Still not working correctly for me. Assuming you have the following (correctly formatted code): {{> header}}
<div class="container">
<div class="row">
<main class="col-xs-12">
{{{contents}}}
</main>
</div>
</div>
{{> footer}} It will be formatted to: {{> header}}
<div class="container">
<div class="row">
<main class="col-xs-12">
{{{contents}}}
</main>
</div>
</div>
{{> footer}} |
This was referenced Sep 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See anaptfox/atom-beautifier#4
In progress 😄..
The text was updated successfully, but these errors were encountered: