You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flattens all commands in the layout html files of the hugo CMS into one single line. But it should respect the programming structure and indent as in e.g. js - or at least leave the parts unchanged.
Input Before Beautification
<divclass="row">
{{range (sort ( (where .Data.Pages "Section" "x" ) ) ".Params.weight" "desc" )}}`
{{ if in .Params.tags "y" `}}
{{ partial "person6u" .}}
{{end}}
{{end}}
</div>
Expected Output
<divclass="row">
{{range (sort ( (where .Data.Pages "Section" "x" ) ) ".Params.weight" "desc" )}}`
{{ if in .Params.tags "y" `}}
{{ partial "person6u" .}}
{{end}}
{{end}}
</div>
Actual Output
<divclass="row">
{{range (sort ( (where .Data.Pages "Section" "x" ) ) ".Params.weight" "desc" )}}`{{ if in .Params.tags "y" `}}{{ partial "person6u" .}}{{end}}{{end}}
</div>
Steps to Reproduce
Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!
Checklist
I have:
Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
Reloaded (or restarted) Atom to ensure it is not a caching issue
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Flattens all commands in the layout html files of the hugo CMS into one single line. But it should respect the programming structure and indent as in e.g. js - or at least leave the parts unchanged.
Input Before Beautification
Expected Output
Actual Output
Steps to Reproduce
Atom Beautify: Beautify Editor
Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: