diff options
| author | ruki <waruqi@gmail.com> | 2018-08-22 23:26:41 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-08-22 14:40:10 +0800 |
| commit | a21620cb0ad717d50192b2de6544017c0ab57a05 (patch) | |
| tree | 2c2d7f3f8c003941f678d2dac78d24586dd7fecb | |
| parent | bc0b62c94748eb4c174502c4d5dc791ed2f027e7 (diff) | |
| download | xmake-docs-a21620cb0ad717d50192b2de6544017c0ab57a05.tar.gz xmake-docs-a21620cb0ad717d50192b2de6544017c0ab57a05.zip | |
add show code image
| -rw-r--r-- | cn/index.html | 6 | ||||
| -rw-r--r-- | landing.html | 6 | ||||
| -rw-r--r-- | landing/index.cn.md | 6 | ||||
| -rw-r--r-- | landing/index.md | 6 |
4 files changed, 4 insertions, 20 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> diff --git a/landing.html b/landing.html index 94f94fb4..07a5fca6 100644 --- a/landing.html +++ b/landing.html @@ -71,11 +71,7 @@ <h2 id="simple-description">Simple description</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="build-project">Build project</h2> diff --git a/landing/index.cn.md b/landing/index.cn.md index ee6e9733..9bb052fd 100644 --- a/landing/index.cn.md +++ b/landing/index.cn.md @@ -25,11 +25,7 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm ## 简单的工程描述 -```lua -target("console") - set_kind("binary") - add_files("src/*.c") -``` +<img src="/assets/img/index/showcode1.png" width="50%" /> ## 构建工程 diff --git a/landing/index.md b/landing/index.md index 9352535f..d222d5bf 100644 --- a/landing/index.md +++ b/landing/index.md @@ -25,11 +25,7 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm ## Simple description -```lua -target("console") - set_kind("binary") - add_files("src/*.c") -``` +<img src="/assets/img/index/showcode1.png" width="50%" /> ## Build project |
