It should use double quotes for all attributes, unless boolean attribute
It should use single quotes for all attributes, unless boolean attribute when singleQuote is true singleQuote: true
It should break LiquidTags attribute nodes and consider the insides _not_ whitespace sensitive
It should not try to format HTML attributes (yet) (1) It should break and indent attributes that are long af {{ media.preview_image.alt | escape }} If there's only one attribute and self-closing, don't break when the line is too long. If there's only one attribute, not self-closing and no children, break the attr and close the tag on a different line.
If there's only one attribute and not self-closing, but with children, do not break the attr and close the tag on a different line.
Hello
If there's only one attribute, not self-closing, with children, do not break the LiquidTag attr and close the tag on a different line. printWidth: 30
Hello
If there's only one attribute, not self-closing, with children, do not break the LiquidNode attr and close the tag on a different line. printWidth: 30
Hello
If there's only one attribute, not self closing, with children, but the attribute is a liquid tag that has children, break it normally. printWidth: 40
hello world
If there's only one attribute, not self closing, without children, but the attribute is a liquid tag that has children, break it normally. printWidth: 40
If there's multiple attributes inside an if tag attribute node, print until print width
If there's multiple attributes inside an if tag attribute node, print until print width printWidth: 1
If there's multiple attributes inside an if tag attribute node with a newline, maintain newline
If singleQuote is true, and the attribute value contained single quotes, use double quotes singleQuote: true If singleQuote is false, and the attribute value contained double quotes, use single quotes singleQuote: false If singleQuote is true, and the attribute value has liquid tags that contain single quotes, don't care. singleQuote: true If singleQuote is false, and the attribute value has liquid tags that contain double quotes, don't care. singleQuote: false It should pretty print attribute names with Liquid in them singleQuote: true
It should pretty print attribute names with Liquid in them without new lines printWidth: 1
It should pretty unquoted liquid drop attributes
It should pretty print smart quotes into dumb quotes to prevent copy pasting errors