Handlebars inline formatting
See original GitHub issueDescription
Handlebars inline tags not formatted probably
Input
The code looked like this before beautification:
{{title "abc"}}
{{log "abc"}}
Expected Output
The code should have looked like this after beautification:
{{title "abc"}}
{{log "abc"}}
Actual Output
The code actually looked like this after beautification:
{{title "abc"}}{{log "abc"}}
Steps to Reproduce
When writing many handlebars tags inline like the following {{title “abc”}}{{log “abc”}} VSCode formatter (Alt+Shift+F) adds all inline tags in the same line and no way to configure the editor to add each tag on a single line which is very annoying
Environment
OS: Windows_NT ia32 6.1.7601
Settings
Example:
{
"html.format.indentHandlebars": true,
"editor.formatOnSave": true,
"html.format.endWithNewline": true,
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Inserting handlebars in an inline style - Stack Overflow
So I am trying to add a partial {{> img-bg}} inside an inline style (just to keep ...
Read more >Using Inline Partials and Decorators with Handlebars 4.0
First, take the code you want to be your partial. Then wrap it with the new inline syntax, passing one argument which is...
Read more >Expressions | Handlebars
Handlebars content may be escaped in one of two ways, inline escapes or raw block helpers. Inline escapes created by prefixing a mustache...
Read more >Styling handlebars with inline CSS? - Codecademy Forums
I'm not familiar with handlebars so I'm looking for help/information on how to style the data pulled from the handlebars with inline CSS...
Read more >Handlebars - Advanced: How to Add Conditional Formatting
You can accomplish this by testing if the answer equals a certain value, and then using inline CSS formatting to change the background...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We need handlebars support !!
This has been fixed as of v1.8.1