aboutsummaryrefslogtreecommitdiff
path: root/cn/index.html
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-08-22 23:26:41 +0800
committerruki <waruqi@gmail.com>2018-08-22 14:40:10 +0800
commita21620cb0ad717d50192b2de6544017c0ab57a05 (patch)
tree2c2d7f3f8c003941f678d2dac78d24586dd7fecb /cn/index.html
parentbc0b62c94748eb4c174502c4d5dc791ed2f027e7 (diff)
downloadxmake-docs-a21620cb0ad717d50192b2de6544017c0ab57a05.tar.gz
xmake-docs-a21620cb0ad717d50192b2de6544017c0ab57a05.zip
add show code image
Diffstat (limited to 'cn/index.html')
-rw-r--r--cn/index.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/cn/index.html b/cn/index.html
index 39611070..0b60bce6 100644
--- a/cn/index.html
+++ b/cn/index.html
@@ -71,11 +71,7 @@
<h2 id="section-1">简单的工程描述</h2>
-<div class="language-lua highlighter-rouge"><pre class="highlight"><code><span class="n">target</span><span class="p">(</span><span class="s2">"console"</span><span class="p">)</span>
- <span class="n">set_kind</span><span class="p">(</span><span class="s2">"binary"</span><span class="p">)</span>
- <span class="n">add_files</span><span class="p">(</span><span class="s2">"src/*.c"</span><span class="p">)</span>
-</code></pre>
-</div>
+<p><img src="/assets/img/index/showcode1.png" width="50%" /></p>
<h2 id="section-2">构建工程</h2>