Loading... markdown使用 [toc] <h1>markdown使用技巧</h1> <h2>标题</h2> <code># 标题</code> <h2>引用</h2> <blockquote> 单行引用 <code>>引用</code> <blockquote> 嵌套引用 <code>>>引用内容</code> </blockquote> </blockquote> <h2>字体</h2> <ul> <li><em>斜体</em>: <code>*斜体*</code> <code>_斜体_</code></p></li> <li><p><strong>粗体:</strong> <code>**粗体**</code> <code>__粗体__</code></p></li> <li><p><strong><em>斜粗体:</em></strong> <code>***斜粗体***</code> <code>___斜粗体___</code></p></li> <li><p><del>删除:</del> <code>~~删除~~</code></p></li> <li><p><u>下划线:</u> <code><u>下划线</u></code></p></li> <li><p><span class="text-highlighted-inline" style="background-color: #fffd38;">高亮:</span> <code>==高亮==</code></p></li> </ul> <h2>图片</h2> <ul> <li><p>行内式 <code>![名称](链接)</code></p></li> <li><p>参考式 <code>![名称][链接名]</code> <code>[链接名]:链接</code></p></li> </ul> <h2>链接</h2> <ul> <li><p>行内式 <code>[名称](链接)</code></p></li> <li><p>参考式 <code>[名称][链接名]</code> <code>[链接名]:链接</code></p></li> </ul> <h2>代码</h2> <ul> <li><p>代码 ``</p></li> <li><p>代码块 <pre><code class="language-mdmarkdown line-numbers"></code></pre></li> </ul> <h2>表格</h2> <pre><code class="language-markdown line-numbers">name | age ---- | --- LearnShare | 12 Mike | 32 </code></pre> <table> <thead> <tr> <th>name</th> <th>age</th> </tr> </thead> <tbody> <tr> <td>LearnShare</td> <td>12</td> </tr> <tr> <td>Mike</td> <td>32</td> </tr> </tbody> </table> <h3>对齐</h3> <ul> <li><code>:---</code> 代表左对齐</li> <li><code>:--:</code> 代表居中对齐</li> <li><code>---:</code> 代表右对齐</li> </ul> <pre><code class="language-markdown line-numbers">| left | center | right | | :--- | :----: | ----: | | aaaa | bbbbbb | ccccc | | a | b | c | </code></pre> <table> <thead> <tr> <th align="left">left</th> <th align="center">center</th> <th align="right">right</th> </tr> </thead> <tbody> <tr> <td align="left">aaaa</td> <td align="center">bbbbbb</td> <td align="right">ccccc</td> </tr> <tr> <td align="left">a</td> <td align="center">b</td> <td align="right">c</td> </tr> </tbody> </table> <h2>待办事项</h2> <pre><code class="language-markdown line-numbers">- [ ] 完成使用说明 - [x] 已完成 </code></pre> <ul> <li>[ ] 完成使用说明</li> <li>[x] 已完成</li> </ul> <h2>列表</h2> <ul> <li>无序列表 <code>*/- 无序列表</code></li> </ul> <ol> <li>有序列表 <code>1. 有序列表</code></li> </ol> <h2>脚注</h2> <ul> <li>脚注<sup id="fnref-11-1"><a href="#fn-11-1" class="footnote-ref" role="doc-noteref">1</a></sup></li> </ul> <h2>目录</h2> 生成目录: <code>[toc]</code> <h2>Latex</h2> <ul> <li>分数: $\frac{1}{2}$ <code>\frac{1}{2}</code></li> <li>乘号: $\times$ <code>\times</code></li> <li>开根: $\sqrt[n]{x}$ <code>\sqrt[n]{x}</code></li> <li>上下标: $x^2_3$ <code>x^2_3</code></li> <li>向量点乘: $\vec{a}\cdot\vec{b}$ <code>\vec{a}\cdot\vec{b}</code></li> <li>平均: $\overline{x}$ <code>\overline{x}</code></li> <li><a class="wp-editor-md-post-content-link" href="https://zhuanlan.zhihu.com/p/165342174#__next#__next:~:text=limit">极限求和</a></li> </ul> <div class="footnotes" role="doc-endnotes"> <hr /> <ol> <li id="fn-11-1" role="doc-endnote"> 像这样 <a href="#fnref-11-1" class="footnote-backref" role="doc-backlink">↩︎</a> </li> </ol> </div> 最后修改:2022 年 07 月 21 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏