Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Handlebars compile options (preventIndent) #29

Open
yanivyalda opened this issue Nov 10, 2015 · 2 comments
Open

Handlebars compile options (preventIndent) #29

yanivyalda opened this issue Nov 10, 2015 · 2 comments
Milestone

Comments

@yanivyalda
Copy link

I've been having problems with indentation in the code snippet preview and to fix this I have to pass preventIndent as an option into the Handlebars compile method.

is it possible to pass options via the gruntfile/gulpfile?

Orginal

screen shot 2015-11-10 at 8 47 29 pm

Without preventIndent=true and beautifier.indent_with_tabs= true

screen shot 2015-11-10 at 9 02 27 pm

With preventIndent=true and beautifier.indent_with_tabs= true

screen shot 2015-11-10 at 8 47 35 pm

@LukeAskew
Copy link
Member

Its not currently possible to change this setting. I'll make a note to look into making indentation more predictable in future builds.

@LukeAskew LukeAskew added this to the 2.0 milestone Jun 9, 2016
@mhumeSF
Copy link

mhumeSF commented Aug 8, 2016

👍 Much appreciated as I too am running into this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants