Wrap
Character width limit before applying word wrap. A value of 0
will disable wrapping and is the default setting.
When this rule is undefined in a
.liquidrc
file the Text Editors settings will be used, in vscode that is*.endWithNewline
where*
is a language name.
Example
Adjust the range to input to see how Æsthetic handles word wrap.
- default
- recommended
- warrington
- strict
- prettier
80
<header>
<h1>Hello World
</h1>
<div id="foo" class="bar">
<h1>Hello World
</h1>
</div>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat
</p>
</header>