mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-18 05:01:21 +08:00
doc: update docs/ini.md (#379) a38aaccd49
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
<path fill-rule="evenodd" d="M2 4a1 1 0 100-2 1 1 0 000 2zm3.75-1.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"></path>
|
||||
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#入门">入门</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#介绍">介绍</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#稳定的特性">稳定的特性</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#注释">注释</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#部分sections">部分(Sections)</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#嵌套部分解析器支持">嵌套(部分解析器支持)</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#转义字符">转义字符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#数组">数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#解释器">解释器</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="入门"><a aria-hidden="true" tabindex="-1" href="#入门"><span class="icon icon-link"></span></a>入门</h2><div class="wrap-body">
|
||||
</div></div><div class="h2wrap-body"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="介绍"><a aria-hidden="true" tabindex="-1" href="#介绍"><span class="icon icon-link"></span></a>介绍</h3><div class="wrap-body">
|
||||
<p>INI 是一种固定标准格式的配置文件,INI配置方法来自 MS-DOS 操作系统</p>
|
||||
<p>INI 是一种固定标准格式的配置文件,INI 配置方法来自 MS-DOS 操作系统</p>
|
||||
<pre class="language-ini"><code class="language-ini code-highlight"><span class="code-line"><span class="token comment">; 这里是注释</span>
|
||||
</span><span class="code-line"><span class="token section"><span class="token punctuation">[</span><span class="token section-name selector">owner</span><span class="token punctuation">]</span></span>
|
||||
</span><span class="code-line"><span class="token key attr-name">name</span><span class="token punctuation">=</span><span class="token value attr-value">John Doe</span>
|
||||
@ -57,7 +57,7 @@
|
||||
<!--rehype:className=style-round-->
|
||||
<pre class="language-ini"><code class="language-ini code-highlight"><span class="code-line"><span class="token key attr-name">name</span> <span class="token punctuation">=</span> <span class="token value attr-value">value</span>
|
||||
</span></code></pre>
|
||||
<p>与下面👇 JSON 大致相同</p>
|
||||
<p>与下面👇 <code>JSON</code> 大致相同</p>
|
||||
<pre class="language-js"><code class="language-js code-highlight"><span class="code-line"><span class="token punctuation">{</span>
|
||||
</span><span class="code-line"> <span class="token string-property property">"name"</span><span class="token operator">:</span> <span class="token string">"value"</span>
|
||||
</span><span class="code-line"><span class="token punctuation">}</span>
|
||||
|
Reference in New Issue
Block a user