Deploying to gh-pages from @ harttle/liquidjs@842b45c96a 🚀

This commit is contained in:
harttle
2024-05-06 13:11:32 +00:00
parent a8b4fa4a64
commit cd0e5a00f7
217 changed files with 3357 additions and 1787 deletions
+3 -3
View File
@@ -103,7 +103,7 @@
<li><strong>Async as first-class citizen</strong>. Filters and tags can be implemented asynchronously by return a <code>Promise</code>.</li>
<li><strong>Also can be sync</strong>. For scenarios that are not I/O intensive, render synchronously can be much faster. You can call synchronous APIs like <code>.renderSync()</code> as long as all the filters and tags in template support to be rendered synchronously. All builtin filters/tags support both sync and async render.</li>
<li><strong><a href="https://liquidjs.com/tutorials/render-file.html#Abstract-File-System">Abstract file system</a></strong>. Along with async feature, LiquidJS can be used to serve templates stored in Databases <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/discussions/414">#414</a>, on remote HTTP server <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/discussions/485">#485</a>, and so on.</li>
<li><strong>Additional tags and filters</strong> like <code>layout</code> and <code>json</code>, see below for details.</li>
<li><strong>Additional tags and filters</strong> like <code>layout</code> and <code>json</code>, <code>inspect</code>, <code>where_exp</code>, <code>group_by</code>, etc., see below for details.</li>
</ul>
<h2 id="Differences" class="article-heading"><a href="#Differences" class="headerlink" title="Differences"></a>Differences<a class="article-anchor" href="#Differences" aria-hidden="true"></a></h2><p>Though were trying to be compatible with the Ruby version, there are still some differences:</p>
<ul>
@@ -116,7 +116,7 @@
<li>Trailing unmatched characters inside filters are allowed in shopify/liquid but not in LiquidJS. It means filter arguments without a colon like <code>{{ "a b" | split " "}}</code> will throw an error in LiquidJS. This is intended to improve Liquid usability, see <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/issues/208">#208</a> and <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/issues/212">#212</a>.</li>
<li>LiquidJS has more tags/filters than <a target="_blank" rel="noopener external nofollow noreferrer" href="https://shopify.github.io/liquid/basics/introduction/">the Liquid language</a>:<ul>
<li>LiquidJS-defined tags: <a href="../tags/layout.html">layout</a>, <a href="../tags/render.html">render</a> and corresponding <code>block</code> tag.</li>
<li>LiquidJS-defined filters: <a href="https://liquidjs.com/filters/json.html">json</a>.</li>
<li>LiquidJS-defined filters: <a href="https://liquidjs.com/filters/json.html">json</a>, group_by, group_by_exp, where_exp, jsonify, inspect, etc.</li>
<li>Tags/filters that dont depend on Shopify platform are borrowed from <a target="_blank" rel="noopener external nofollow noreferrer" href="https://shopify.dev/docs/api/liquid/tags">Shopify</a>.</li>
<li>Tags/filters that dont depend on Jekyll framework are borrowed from <a target="_blank" rel="noopener external nofollow noreferrer" href="https://jekyllrb.com/docs/liquid/filters/">Jekyll</a>.</li>
</ul>
@@ -126,7 +126,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-28T15:17:18.223Z" itemprop="dateModified">Last updated: 2024-04-28</time>
<time class="article-footer-updated" datetime="2024-05-06T13:10:44.631Z" itemprop="dateModified">Last updated: 2024-05-06</time>
<a href="changelog.html" class="article-footer-prev" title="Changelog"><i class="icon-chevron-left"></i><span>Prev</span></a><a href="contribution-guidelines.html" class="article-footer-next" title="Contribution Guidelines"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>