Markdown 常用拓展语法参考
Markdown 常用拓展语法参考
常用链接
- 基本语法
- GitHub Flavored Markdown Spec gfm
- 比较细致的 markdown 参考资料 www.markdownguide.org
- github 上的 markdown 语法速查 markdown-cheatsheet,Markdown
- typora中提供的帮助
- 数学公式 :通常 markdown 使用以下两种工具渲染公示
- emoji 参考:v:
- Mermaid 图表:一般都是使用的 mermaid.js 来渲染的,注意版本
- mermaid.js 官方文档:mermaid
- typora 的相关帮助文档:Draw Diagrams With Markdown (typora.io)
- Badge 徽章:
- https://shields.io/
- https://forthebadge.com/
- 在 gitee 中使用徽标:在 git 仓库主页一次点击
管理
、仓库挂件
即可看到
常用 html 代码
行内 html
Raw Markdown Source | Output in Live Preview |
---|---|
<span style='color:red'>This is red</span> | This is red |
<ruby> 漢 <rt> ㄏㄢˋ </rt> </ruby> | 漢 |
<kbd>Ctrl</kbd>+<kbd>F9</kbd> | Ctrl+F9 |
<span style="font-size:2rem; background:yellow;">**Bigger**</span> | Bigger |
HTML entities like ® ¶ | HTML entities like ® ¶ |
文本注释、隐藏与折叠
注释内容
<!--这是注释-->
隐藏段落
<p hidden>这是需要隐藏的段落 不可以有空行</p>
折叠
<details>
<summary>
I have keys but no locks. I have space but no room. You can enter but can't
leave. What am I?
</summary>
A keyboard.
</details>
效果:
I have keys but no locks. I have space but no room. You can enter but can't leave. What am I?
A keyboard.音视频
<audio src="xxx.mp3"></audio> <video src="xxx.mp4"></video>
加载哔哩哔哩视频
<iframe
src="//player.bilibili.com/player.html?aid=66583807&bvid=BV1n441127jG&cid=116735636&page=1"
scrolling="no"
border="0"
frameborder="no"
framespacing="0"
allowfullscreen="true"
>
</iframe>
效果:
常见符号
\Alpha |
\Beta |
\Gamma |
\Delta |
\Epsilon |
\Zeta |
\Eta |
\Theta |
\Iota |
\Kappa |
\Lambda |
\Mu |
\Nu |
\Xi |
\Omicron |
\Pi |
\Rho |
\Sigma |
\Tau |
\Upsilon |
\Phi |
\Chi |
\Psi |
\Omega |
\varGamma |
\varDelta |
\varTheta |
\varLambda |
\varXi |
\varPi |
\varSigma |
\varUpsilon |
\varPhi |
\varPsi |
\varOmega | |
\alpha |
\beta |
\gamma |
\delta |
\epsilon |
\zeta |
\eta |
\theta |
\iota |
\kappa |
\lambda |
\mu |
\nu |
\xi |
\omicron |
\pi |
\rho |
\sigma |
\tau |
\upsilon |
\phi |
\chi |
\psi |
\omega |
\varepsilon |
\varkappa |
\vartheta |
\thetasym |
\varpi |
\varrho |
\varsigma |
\varphi |
\digamma |