Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing quote #886

Merged
merged 1 commit into from
Oct 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cn/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h3 id=">你应该使用哪个文件</h3>
</a>或<a href="https://github.com/sindresorhus/gulp-nunjucks">gulp</a>,可在 <a href="api.html#browser-usage">浏览器使用</a> 查看客户端优化的配置。</p>
</blockquote>

<h2 id=">使用说明</h2>
<h2 id="usage">使用说明</h2>

<p>这是最简单使用 nunjucks 的方式,首先设置配置项(如 autoescaping),然后渲染一个字符串:</p>
<div class="highlight"><pre><code class="language-js" data-lang="js"><span class="nx">nunjucks</span><span class="p">.</span><span class="nx">configure</span><span class="p">({</span> <span class="nx">autoescape</span><span class="o">:</span> <span class="kc">true</span> <span class="p">});</span>
Expand Down Expand Up @@ -135,7 +135,7 @@ <h2 id=">使用说明</h2>

<p>如果你在浏览器上使用<a href="api.html#precompiling">编译后</a>的模板的话,你不需要额外做其他的事情系统也能够理解它们。这使得我们可以轻松地在开发环境和生产环境上使用同一份代码,并在生产环境上只使用已经编译过的模板。</p>

<h2 id=">更多信息</h2>
<h2 id="more-information">更多信息</h2>

<p>这只是冰山一角,可继续查看 <a href="api.html">API</a> 文档和<a href="templating.html">模板语言</a>。</p>

Expand Down