vscode-liquid
vscode-liquid copied to clipboard
Formatting splits td tags
When I try to format a table, it splits some of the td tags to 2 lines like this.
<td>{{Product.TotalSum}}
€</td>
Is there a way to prevent td tags from breaking?
Use {{ product.totalsum | prepend: “€ ”}}
this can also be fixed with formatting option applied to HTML but I’m unsure which option controls that aspect.
Thank you for your answer!
However, since we are talking about a very long document - it will require a lot of effort to change it everywhere.
If anyone knows which option controls this - it will help me very much!
Select the tag, ‘cmd+shift+d‘ in vscode will allow you to select all tags that match that selection, might be of some help.
This can be configured using Prettify rules. Take a look at v3.0.0 Release Notes and the new Readme