多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# `verbatim` New in version 1.12: The `verbatim` tag was added in Twig 1.12 (it was named `raw` before). The `verbatim` tag marks sections as being raw text that should not beparsed. For example to put Twig syntax as example into a template you can usethis snippet: <table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1 2 3 4 5 6 7</pre></div></td><td class="code"><div class="highlight"><pre>{% verbatim %} &lt;ul&gt; {% for item in seq %} &lt;li&gt;{{ item }}&lt;/li&gt; {% endfor %} &lt;/ul&gt; {% endverbatim %} </pre></div></td></tr></table> Note The `verbatim` tag works in the exact same way as the old `raw` tag,but was renamed to avoid confusion with the `raw` filter.