mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
Deploying to gh-pages from @ harttle/liquidjs@4490e4b789 🚀
This commit is contained in:
@@ -113,15 +113,15 @@ harttle<span aria-hidden="true" class="line-numbers-rows"><span></span><span></s
|
||||
<ul>
|
||||
<li><code>trimTagLeft</code></li>
|
||||
<li><code>trimTagRight</code></li>
|
||||
<li><code>trimValueLeft</code></li>
|
||||
<li><code>trimValueRight</code></li>
|
||||
<li><code>trimOutputLeft</code></li>
|
||||
<li><code>trimOutputRight</code></li>
|
||||
</ul>
|
||||
<p><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs">LiquidJS</a> will <strong>NOT</strong> trim any whitespace by default, aka. above options all default to <code>false</code>. For details of these options, see the <a href="/api/interfaces/LiquidOptions.html">options</a>.</p>
|
||||
<h2 id="Greedy-Mode" class="article-heading"><a href="#Greedy-Mode" class="headerlink" title="Greedy Mode"></a>Greedy Mode<a class="article-anchor" href="#Greedy-Mode" aria-hidden="true"></a></h2><p>In greedy mode (enabled by the <a href="/api/interfaces/LiquidOptions.html#greedy">greedy option</a>), all consecutive whitespace chars (including <code>\n</code>) will be trimmed. Greedy mode is enabled by default to be compliant with <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/Shopify/liquid">shopify/liquid</a>.</p>
|
||||
|
||||
</div>
|
||||
<footer class="article-footer">
|
||||
<time class="article-footer-updated" datetime="2024-09-22T13:56:44.259Z" itemprop="dateModified">Last updated: 2024-09-22</time>
|
||||
<time class="article-footer-updated" datetime="2024-09-27T16:49:53.603Z" itemprop="dateModified">Last updated: 2024-09-27</time>
|
||||
<a href="sync-and-async.html" class="article-footer-prev" title="Sync and Async"><i class="icon-chevron-left"></i><span>Prev</span></a><a href="plugins.html" class="article-footer-next" title="Plugins"><span>Next</span><i class="icon-chevron-right"></i></a>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user