-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add special "whitespace control" tag for nicely formatted output-html #925
Comments
I currently workaround this issue using a plugin called |
I'm not even sure it should have a special tag, why not just make this the default behaviour? It would make sense for resolving #514 too. |
Any developments here? |
Another vote for this (I came here from #514 because it doesn't make sense that including files inside my |
+1 |
Just a minor priority feature-request, but nonetheless nice to have:
Imagine this common scenario:
There is a basic layout file in jekyll like this:
If we have an HTML file using this layout like this:
The resulting html would be
although both files were nicely formatted.
Even with the liquid 4 whitespace control, there's no way to effectively fix that.
My suggestion would be to add some sort of tag like
{%?
,?%}
,{{?
and?}}
(or any other special character), which makes the inserted text have the space before this tag to the preceding newline char appended after every newline exect for the last one.So the resulting output would be
like you would expect.
If I wasn't clear enough, or if you have some other questions about this request, please let me know!
The text was updated successfully, but these errors were encountered: