mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
83 lines
78 KiB
HTML
83 lines
78 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NormalizedOptions | liquidjs</title><meta name="description" content="Documentation for liquidjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">liquidjs</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">liquidjs</a></li><li><a href="../modules/_internal_.html"><internal></a></li><li><a href="_internal_.NormalizedOptions.html">NormalizedOptions</a></li></ul><h1>Interface NormalizedOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">NormalizedOptions</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#cache">cache</a><span class="tsd-signature-symbol">?: </span><a href="../types/_internal_.LiquidCache.html" class="tsd-signature-type tsd-kind-type-alias">LiquidCache</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#catchAllErrors">catchAllErrors</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#dateFormat">dateFormat</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#dynamicPartials">dynamicPartials</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#extname">extname</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#fs">fs</a><span class="tsd-signature-symbol">?: </span><a href="FS.html" class="tsd-signature-type tsd-kind-interface">FS</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#globals">globals</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#greedy">greedy</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#groupedExpressions">groupedExpressions</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#jekyllInclude">jekyllInclude</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#jekyllWhere">jekyllWhere</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#jsTruthy">jsTruthy</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#keepOutputType">keepOutputType</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#keyValueSeparator">keyValueSeparator</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#layouts">layouts</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#lenientIf">lenientIf</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#locale">locale</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#memoryLimit">memoryLimit</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#operators">operators</a><span class="tsd-signature-symbol">?: </span><a href="../types/Operators.html" class="tsd-signature-type tsd-kind-type-alias">Operators</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#orderedFilterParameters">orderedFilterParameters</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#outputDelimiterLeft">outputDelimiterLeft</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#outputDelimiterRight">outputDelimiterRight</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#outputEscape">outputEscape</a><span class="tsd-signature-symbol">?: </span><a href="../types/_internal_.OutputEscape.html" class="tsd-signature-type tsd-kind-type-alias">OutputEscape</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#ownPropertyOnly">ownPropertyOnly</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#parseLimit">parseLimit</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#partials">partials</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#preserveTimezones">preserveTimezones</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#relativeReference">relativeReference</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#renderLimit">renderLimit</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#root">root</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#strictFilters">strictFilters</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#strictVariables">strictVariables</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#tagDelimiterLeft">tagDelimiterLeft</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#tagDelimiterRight">tagDelimiterRight</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#templates">templates</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#timezoneOffset">timezoneOffset</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#trimOutputLeft">trimOutputLeft</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#trimOutputRight">trimOutputRight</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#trimTagLeft">trimTagLeft</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="_internal_.NormalizedOptions.html#trimTagRight">trimTagRight</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#<internal>.NormalizedOptions">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="LiquidOptions.html" class="tsd-signature-type tsd-kind-interface">LiquidOptions</a><ul class="tsd-hierarchy"><li><span class="target">NormalizedOptions</span><ul class="tsd-hierarchy"><li><a href="_internal_.NormalizedFullOptions.html" class="tsd-signature-type tsd-kind-interface">NormalizedFullOptions</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L129">src/liquid-options.ts:129</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="_internal_.NormalizedOptions.html#cache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cache?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#catchAllErrors" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>catch<wbr/>All<wbr/>Errors?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#dateFormat" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>date<wbr/>Format?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#dynamicPartials" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dynamic<wbr/>Partials?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#extname" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>extname?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#fs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fs?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#globals" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>globals?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#greedy" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>greedy?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#groupedExpressions" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>grouped<wbr/>Expressions?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#jekyllInclude" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jekyll<wbr/>Include?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#jekyllWhere" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jekyll<wbr/>Where?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#jsTruthy" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>js<wbr/>Truthy?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#keepOutputType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>keep<wbr/>Output<wbr/>Type?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#keyValueSeparator" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>key<wbr/>Value<wbr/>Separator?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#layouts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>layouts?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#lenientIf" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>lenient<wbr/>If?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#locale" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>locale?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#memoryLimit" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory<wbr/>Limit?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#operators" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>operators?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#orderedFilterParameters" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ordered<wbr/>Filter<wbr/>Parameters?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#outputDelimiterLeft" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Delimiter<wbr/>Left?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#outputDelimiterRight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Delimiter<wbr/>Right?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#outputEscape" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Escape?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#ownPropertyOnly" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>own<wbr/>Property<wbr/>Only?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#parseLimit" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parse<wbr/>Limit?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#partials" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>partials?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#preserveTimezones" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>preserve<wbr/>Timezones?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#relativeReference" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>relative<wbr/>Reference?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#renderLimit" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>render<wbr/>Limit?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#root" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>root?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#strictFilters" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>strict<wbr/>Filters?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#strictVariables" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>strict<wbr/>Variables?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#tagDelimiterLeft" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tag<wbr/>Delimiter<wbr/>Left?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#tagDelimiterRight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tag<wbr/>Delimiter<wbr/>Right?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#templates" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>templates?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#timezoneOffset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timezone<wbr/>Offset?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#trimOutputLeft" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Output<wbr/>Left?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#trimOutputRight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Output<wbr/>Right?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#trimTagLeft" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Tag<wbr/>Left?</span></a>
|
||
<a href="_internal_.NormalizedOptions.html#trimTagRight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Tag<wbr/>Right?</span></a>
|
||
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="cache" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>cache</span><a href="#cache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cache</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_internal_.LiquidCache.html" class="tsd-signature-type tsd-kind-type-alias">LiquidCache</a></div><div class="tsd-comment tsd-typography"><p>Whether or not to cache resolved templates. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#cache">cache</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L133">src/liquid-options.ts:133</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="catchAllErrors" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>catch<wbr/>All<wbr/>Errors</span><a href="#catchAllErrors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">catch<wbr/>All<wbr/>Errors</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Catch all errors instead of exit upon one. Please note that render errors won't be reached when parse fails.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#catchAllErrors">catchAllErrors</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L40">src/liquid-options.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="dateFormat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>date<wbr/>Format</span><a href="#dateFormat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">date<wbr/>Format</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Default date format to use if the date filter doesn't include a format. Defaults to <code>%A, %B %-e, %Y at %-l:%M %P %z</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#dateFormat">dateFormat</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L51">src/liquid-options.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="dynamicPartials" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>dynamic<wbr/>Partials</span><a href="#dynamicPartials" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dynamic<wbr/>Partials</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>If set, treat the <code>filepath</code> parameter in <code>{%include filepath %}</code> and <code>{%layout filepath%}</code> as a variable, otherwise as a literal value. Defaults to <code>true</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#dynamicPartials">dynamicPartials</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L34">src/liquid-options.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="extname" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>extname</span><a href="#extname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">extname</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Add a extname (if filepath doesn't include one) before template file lookup. Eg: setting to <code>".html"</code> will allow including file by basename. Defaults to <code>""</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#extname">extname</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L28">src/liquid-options.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>fs</span><a href="#fs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fs</span><span class="tsd-signature-symbol">?:</span> <a href="FS.html" class="tsd-signature-type tsd-kind-interface">FS</a></div><div class="tsd-comment tsd-typography"><p><code>fs</code> is used to override the default file-system module with a custom implementation.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#fs">fs</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L75">src/liquid-options.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="globals" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>globals</span><a href="#globals" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">globals</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">object</span></div><div class="tsd-comment tsd-typography"><p>the global scope passed down to all partial and layout templates, i.e. templates included by <code>include</code>, <code>layout</code> and <code>render</code> tags.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#globals">globals</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L81">src/liquid-options.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="greedy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>greedy</span><a href="#greedy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">greedy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether <code>trim*Left</code>/<code>trim*Right</code> is greedy. When set to <code>true</code>, all consecutive blank characters including <code>\n</code> will be trimmed regardless of line breaks. Defaults to <code>true</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#greedy">greedy</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L73">src/liquid-options.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="groupedExpressions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>grouped<wbr/>Expressions</span><a href="#groupedExpressions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">grouped<wbr/>Expressions</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Allow parenthesized expressions as operands in conditions and loops, e.g. <code>{% if (foo | upcase) == "BAR" %}</code>. This is a non-standard extension to Liquid. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#groupedExpressions">groupedExpressions</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L91">src/liquid-options.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="jekyllInclude" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>jekyll<wbr/>Include</span><a href="#jekyllInclude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">jekyll<wbr/>Include</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Use jekyll style include, pass parameters to <code>include</code> variable of current scope. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#jekyllInclude">jekyllInclude</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L24">src/liquid-options.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="jekyllWhere" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>jekyll<wbr/>Where</span><a href="#jekyllWhere" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">jekyll<wbr/>Where</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Use jekyll style where filter, enables array item match. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#jekyllWhere">jekyllWhere</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L26">src/liquid-options.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="jsTruthy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>js<wbr/>Truthy</span><a href="#jsTruthy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">js<wbr/>Truthy</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Use JavaScript Truthiness. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#jsTruthy">jsTruthy</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L32">src/liquid-options.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="keepOutputType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>keep<wbr/>Output<wbr/>Type</span><a href="#keepOutputType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">keep<wbr/>Output<wbr/>Type</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether or not to keep value type when writing the Output, not working for streamed rendering. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#keepOutputType">keepOutputType</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L83">src/liquid-options.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="keyValueSeparator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>key<wbr/>Value<wbr/>Separator</span><a href="#keyValueSeparator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">key<wbr/>Value<wbr/>Separator</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>keyValue separator</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#keyValueSeparator">keyValueSeparator</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L77">src/liquid-options.ts:77</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="layouts" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>layouts</span><a href="#layouts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">layouts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>A directory or an array of directories from where to resolve layout templates. If it's an array, the files are looked up in the order they occur in the array. Defaults to <code>root</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#layouts">layouts</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L132">src/liquid-options.ts:132</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="lenientIf" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>lenient<wbr/>If</span><a href="#lenientIf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">lenient<wbr/>If</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Modifies the behavior of <code>strictVariables</code>. If set, a single undefined variable will <em>not</em> cause an exception in the context of the <code>if</code>/<code>elsif</code>/<code>unless</code> tag and the <code>default</code> filter. Instead, it will evaluate to <code>false</code> and <code>null</code>, respectively. Irrelevant if <code>strictVariables</code> is not set. Defaults to <code>false</code>. *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#lenientIf">lenientIf</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L47">src/liquid-options.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="locale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>locale</span><a href="#locale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">locale</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Default locale, will be used by date filter. Defaults to system locale.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#locale">locale</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L53">src/liquid-options.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="memoryLimit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>memory<wbr/>Limit</span><a href="#memoryLimit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">memory<wbr/>Limit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>For DoS handling, limit new objects creation, including array concat/join/strftime, etc. A typical PC can handle 1e9 (1G) memory without issue.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#memoryLimit">memoryLimit</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L97">src/liquid-options.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="operators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>operators</span><a href="#operators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">operators</span><span class="tsd-signature-symbol">?:</span> <a href="../types/Operators.html" class="tsd-signature-type tsd-kind-type-alias">Operators</a></div><div class="tsd-comment tsd-typography"><p>An object of operators for conditional statements. Defaults to the regular Liquid operators.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#operators">operators</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L87">src/liquid-options.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="orderedFilterParameters" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>ordered<wbr/>Filter<wbr/>Parameters</span><a href="#orderedFilterParameters" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ordered<wbr/>Filter<wbr/>Parameters</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Respect parameter order when using filters like "for ... reversed limit", Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#orderedFilterParameters">orderedFilterParameters</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L89">src/liquid-options.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="outputDelimiterLeft" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>output<wbr/>Delimiter<wbr/>Left</span><a href="#outputDelimiterLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">output<wbr/>Delimiter<wbr/>Left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The left delimiter for liquid outputs. *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#outputDelimiterLeft">outputDelimiterLeft</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L67">src/liquid-options.ts:67</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="outputDelimiterRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>output<wbr/>Delimiter<wbr/>Right</span><a href="#outputDelimiterRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">output<wbr/>Delimiter<wbr/>Right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The right delimiter for liquid outputs. *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#outputDelimiterRight">outputDelimiterRight</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L69">src/liquid-options.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="outputEscape" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>output<wbr/>Escape</span><a href="#outputEscape" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">output<wbr/>Escape</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_internal_.OutputEscape.html" class="tsd-signature-type tsd-kind-type-alias">OutputEscape</a></div><div class="tsd-comment tsd-typography"><p>Default escape filter applied to output values, when set, you'll have to add <code>| raw</code> for values don't need to be escaped. Defaults to <code>undefined</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#outputEscape">outputEscape</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L134">src/liquid-options.ts:134</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="ownPropertyOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>own<wbr/>Property<wbr/>Only</span><a href="#ownPropertyOnly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">own<wbr/>Property<wbr/>Only</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Hide scope variables from prototypes, useful when you're passing a not sanitized object into LiquidJS or need to hide prototypes from templates.
|
||
This only applies to property/index access on scope objects. Filter transforms and iteration operate on the resolved value with standard JavaScript semantics, so prototype-inherited array indices may still be surfaced by them.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#ownPropertyOnly">ownPropertyOnly</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L45">src/liquid-options.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="parseLimit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>parse<wbr/>Limit</span><a href="#parseLimit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">parse<wbr/>Limit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>For DoS handling, limit total length of templates parsed in one <code>parse()</code> call. A typical PC can handle 1e8 (100M) characters without issues.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#parseLimit">parseLimit</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L93">src/liquid-options.ts:93</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="partials" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>partials</span><a href="#partials" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">partials</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>A directory or an array of directories from where to resolve included templates. If it's an array, the files are looked up in the order they occur in the array. Defaults to <code>root</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#partials">partials</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L131">src/liquid-options.ts:131</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="preserveTimezones" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>preserve<wbr/>Timezones</span><a href="#preserveTimezones" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">preserve<wbr/>Timezones</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether input strings to date filter preserve the given timezone *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#preserveTimezones">preserveTimezones</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L71">src/liquid-options.ts:71</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="relativeReference" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>relative<wbr/>Reference</span><a href="#relativeReference" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">relative<wbr/>Reference</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Allow refer to layouts/partials by relative pathname. To avoid arbitrary filesystem read, paths been referenced also need to be within corresponding root, partials, layouts. Defaults to <code>true</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#relativeReference">relativeReference</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L22">src/liquid-options.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="renderLimit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>render<wbr/>Limit</span><a href="#renderLimit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">render<wbr/>Limit</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>For DoS handling, limit total time (in ms) for each <code>render()</code> call.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#renderLimit">renderLimit</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L95">src/liquid-options.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="root" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">root</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>A directory or an array of directories from where to resolve layout and include templates, and the filename passed to <code>.renderFile()</code>. If it's an array, the files are looked up in the order they occur in the array. Defaults to <code>["."]</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#root">root</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L130">src/liquid-options.ts:130</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="strictFilters" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>strict<wbr/>Filters</span><a href="#strictFilters" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">strict<wbr/>Filters</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether or not to assert filter existence. If set to <code>false</code>, undefined filters will be skipped. Otherwise, undefined filters will cause an exception. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#strictFilters">strictFilters</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L36">src/liquid-options.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="strictVariables" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>strict<wbr/>Variables</span><a href="#strictVariables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">strict<wbr/>Variables</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether or not to assert variable existence. If set to <code>false</code>, undefined variables will be rendered as empty string. Otherwise, undefined variables will cause an exception. Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#strictVariables">strictVariables</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L38">src/liquid-options.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="tagDelimiterLeft" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>tag<wbr/>Delimiter<wbr/>Left</span><a href="#tagDelimiterLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tag<wbr/>Delimiter<wbr/>Left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The left delimiter for liquid tags. *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#tagDelimiterLeft">tagDelimiterLeft</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L63">src/liquid-options.ts:63</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="tagDelimiterRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>tag<wbr/>Delimiter<wbr/>Right</span><a href="#tagDelimiterRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tag<wbr/>Delimiter<wbr/>Right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The right delimiter for liquid tags. *</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#tagDelimiterRight">tagDelimiterRight</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L65">src/liquid-options.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="templates" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>templates</span><a href="#templates" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">templates</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>Render from an in-memory <code>templates</code> mapping instead of the file system. When <code>templates</code> is set, Liquid uses the provided mapping for template lookup (including includes, layouts, and partials), and file-system options such as <code>fs</code>, <code>root</code>, <code>partials</code>, <code>layouts</code>, and <code>relativeReference</code> are effectively bypassed for those lookups.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#templates">templates</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L79">src/liquid-options.ts:79</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="timezoneOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>timezone<wbr/>Offset</span><a href="#timezoneOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timezone<wbr/>Offset</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>JavaScript timezone name or timezoneOffset for <code>date</code> filter, default to local time. That means if you're in Australia (UTC+10), it'll default to <code>-600</code> or <code>Australia/Lindeman</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#timezoneOffset">timezoneOffset</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L49">src/liquid-options.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trimOutputLeft" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>trim<wbr/>Output<wbr/>Left</span><a href="#trimOutputLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">trim<wbr/>Output<wbr/>Left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Similar to <code>trimOutputRight</code>, whereas the <code>\n</code> is exclusive. Defaults to <code>false</code>. See Whitespace Control for details.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#trimOutputLeft">trimOutputLeft</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L61">src/liquid-options.ts:61</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trimOutputRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>trim<wbr/>Output<wbr/>Right</span><a href="#trimOutputRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">trim<wbr/>Output<wbr/>Right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Strip blank characters (including <code> </code>, <code>\t</code>, and <code>\r</code>) from the right of values (<code>{{ }}</code>) until <code>\n</code> (inclusive). Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#trimOutputRight">trimOutputRight</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L59">src/liquid-options.ts:59</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trimTagLeft" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>trim<wbr/>Tag<wbr/>Left</span><a href="#trimTagLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">trim<wbr/>Tag<wbr/>Left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Similar to <code>trimTagRight</code>, whereas the <code>\n</code> is exclusive. Defaults to <code>false</code>. See Whitespace Control for details.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#trimTagLeft">trimTagLeft</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L57">src/liquid-options.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trimTagRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>trim<wbr/>Tag<wbr/>Right</span><a href="#trimTagRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">trim<wbr/>Tag<wbr/>Right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Strip blank characters (including <code> </code>, <code>\t</code>, and <code>\r</code>) from the right of tags (<code>{% %}</code>) until <code>\n</code> (inclusive). Defaults to <code>false</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="LiquidOptions.html">LiquidOptions</a>.<a href="LiquidOptions.html#trimTagRight">trimTagRight</a></p><ul><li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/liquid-options.ts#L55">src/liquid-options.ts:55</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#cache" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cache</span></a><a href="#catchAllErrors" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>catch<wbr/>All<wbr/>Errors</span></a><a href="#dateFormat" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>date<wbr/>Format</span></a><a href="#dynamicPartials" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dynamic<wbr/>Partials</span></a><a href="#extname" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>extname</span></a><a href="#fs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fs</span></a><a href="#globals" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>globals</span></a><a href="#greedy" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>greedy</span></a><a href="#groupedExpressions" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>grouped<wbr/>Expressions</span></a><a href="#jekyllInclude" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jekyll<wbr/>Include</span></a><a href="#jekyllWhere" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>jekyll<wbr/>Where</span></a><a href="#jsTruthy" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>js<wbr/>Truthy</span></a><a href="#keepOutputType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>keep<wbr/>Output<wbr/>Type</span></a><a href="#keyValueSeparator" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>key<wbr/>Value<wbr/>Separator</span></a><a href="#layouts" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>layouts</span></a><a href="#lenientIf" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>lenient<wbr/>If</span></a><a href="#locale" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>locale</span></a><a href="#memoryLimit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory<wbr/>Limit</span></a><a href="#operators" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>operators</span></a><a href="#orderedFilterParameters" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ordered<wbr/>Filter<wbr/>Parameters</span></a><a href="#outputDelimiterLeft" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Delimiter<wbr/>Left</span></a><a href="#outputDelimiterRight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Delimiter<wbr/>Right</span></a><a href="#outputEscape" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Escape</span></a><a href="#ownPropertyOnly" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>own<wbr/>Property<wbr/>Only</span></a><a href="#parseLimit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parse<wbr/>Limit</span></a><a href="#partials" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>partials</span></a><a href="#preserveTimezones" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>preserve<wbr/>Timezones</span></a><a href="#relativeReference" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>relative<wbr/>Reference</span></a><a href="#renderLimit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>render<wbr/>Limit</span></a><a href="#root" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>root</span></a><a href="#strictFilters" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>strict<wbr/>Filters</span></a><a href="#strictVariables" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>strict<wbr/>Variables</span></a><a href="#tagDelimiterLeft" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tag<wbr/>Delimiter<wbr/>Left</span></a><a href="#tagDelimiterRight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tag<wbr/>Delimiter<wbr/>Right</span></a><a href="#templates" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>templates</span></a><a href="#timezoneOffset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timezone<wbr/>Offset</span></a><a href="#trimOutputLeft" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Output<wbr/>Left</span></a><a href="#trimOutputRight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Output<wbr/>Right</span></a><a href="#trimTagLeft" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Tag<wbr/>Left</span></a><a href="#trimTagRight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trim<wbr/>Tag<wbr/>Right</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>liquidjs</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|