Æsthetic provides a granular set of formatting rules. Rules are a guideline, they control how beautification is to be applied and allow you to structure your code in a uniform way. The default behavior of Æsthetic is to perform beautification in an unobtrusive manner and as such all rules have been pre-defined to produce output which will format in accordance with your provided input. Æsthetic provides several starting-point preset style guides. Presets allow you to change the operating defaults that Æsthetic uses.


Global rules are used are reference point within all supported languages.


Beautification rules for the Liquid Template Language. Æsthetic brings an array of beautification rules tailored to its typical usage within Markup languages. These rules are diligently applied in accordance with the specific requirements of Liquid.

Extended Behavior

Liquid rules extend beyond Markup languages, supports for Liquid contained within Style, JSON, and Script languages is also provided but the behavior of Liquid beautification in these non-markup contexts differs slightly. To maintain code preservation, Æsthetic adopts a preservation-based approach when dealing with Liquid in non-markup languages. As a result, only a small subset of Liquid-specific rules will be employed in these scenarios.

Dynamic Determination

To ensure the most refined outcome, Æsthetic dynamically determines which rules to apply in non-markup languages based on the surrounding syntax structure. Rules are cherry-picked to match the specific context, taking into account token placement, positioning, and character matches. This intelligent inference of control enables Æsthetic to deliver precise and cohesive code formatting, regardless of whether Liquid resides within Markup or other language environments.



Beautification rules for HTML and XML markup languages. Æsthetic exposes a refined set of formatting options for markup syntax to allow developers to generate both basic and complex output using progressive adaption.


Liquid, JSX and TSX languages reference rules defined in markup and will apply mirror depending on structure occurrence.






JSON Language.