|print-width--------------------------------------------------------------------|
it should maintain whitespace (or lack of thereof) in flow text.
hello {{ name }}!
it should break child html elements liquid prettier would for html
Some freeform text
hello world that might span multiple lines. That's fine. It's a paragraph
after all...
We can definitely deal with that.
it should break liquid tags on new lines when it has leading and trailing
whitespace because it prefers newlines
More freeform text
{%- if liquid -%}But with liquid instead.{%- endif -%}
I wonder what this will look like {{ punctuation }}.
it should break child liquid tags on new lines
If a child breaks, it breaks on a new line.
{%- if liquid -%}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{%- endif -%}
But the paragraph that follows keeps on going as before. If an
fits on the line line, it flows inline. But it will
never open in the middle of a line and end on another
it should maintain whitespace between inline elements
HELLO WORLD
it should not maintain whitespace between inline elements with htmlWhitespaceSensitivity set to ignore
htmlWhitespaceSensitivity: "ignore"
HELLO
WORLD
if there arent whitespace on either side of the text, when it breaks it should
break on both sides
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (-
{{- product.price -}}
-)
it should behave like prettier/language-html
Ipsum. Praesent scelerisque tortor a justo. Quisque consequat libero eratproduct.priceok
it should break parent and add WTC when the child breaks
(-
{%- if liquid -%}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
{%- endif -%}
-)
it should add wtc between liquid drop and span if the ifbreak breaks.
printWidth: 20
{{ drop -}}
Lorem Ipsum