-
Notifications
You must be signed in to change notification settings - Fork 20
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
Too many blank lines are being generated #26
Comments
We format the toml files here in the dioxus cli to clean up the output of the template |
Oh man, I didn't know that and was running the cargo generate CLI instead. Good, so at least toml files can have both: tidy template files and tidy output files. |
Oh, nah. I was checking my WIP template. With the default template, it still prints unnecessary blank lines in toml files. So I have to change them anyway, but not as much as I thought (probably). |
Pretty sure right now (not) discussing #42 is a blocker. This issue is attached to the no-subtemplates version of the template. |
I've noticed that Liquid syntax generates a bunch of blank lines, which makes the output files very messy and untidy.
Though I'm already working on fixing it. It makes the template files a bit clunky, but with a magic of manual formatting it doesn't really look that bad. And I don't think template language files supposed to look beautiful, only if it doesn't change the way an output file looks.
The text was updated successfully, but these errors were encountered: