markdown 使用教程

markdown 使用教程:

1.标题使用:

使用#+空格键,操作一个井号表示一级标题

2.引用使用

英文符号>+空格键

注释:

这是一段引用。(跳出引用可以使用键盘下键)

3.列表

1.有序列表

用1.+空格实现

注释

把大象放进冰箱:

  1. 打开门
  1. 把大象放进冰箱
  1. 关闭冰箱门

2.无序列表

使用-+空格键

注释:

今天要做的事:

  • 吃饭
  • 睡觉
  • 学习
  • 运动

3.任务列表

使用-+空格[空格]+空格

注释:

已经做的事情:

  • 吃饭
  • 睡觉
  • 打豆豆

代码块

Tab键上的反引号·,连续按三次,然后输入语言

注释:

<pre class="md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded" spellcheck="false" lang="c" cid="n54" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px 0px; margin-bottom: 15px; margin-top: 0px; width: inherit;"> #include</pre>

这是一段代码块
 <pre class="md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded" spellcheck="false" lang="java" cid="n55" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-radius: 3px; padding: 8px 4px 6px 0px; margin-bottom: 0px; margin-top: 15px; width: inherit;"> #这是一段Java</pre> 

数学公式

前后两个美元符号,包住:

注释:

<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="11.393ex" height="2.93ex" viewBox="0 -892.8 4905.1 1261.6" role="img" focusable="false" style="vertical-align: -0.857ex;" class="in-text-selection"><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">这</text><g transform="translate(838,0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">是</text></g><g transform="translate(1635,0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">数</text></g><g transform="translate(2473,0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">学</text></g><g transform="translate(3270,0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">公</text></g><g transform="translate(4108,0)"><text font-family="STIXGeneral, 'PingFang SC', serif" stroke="none" transform="scale(52.4) matrix(1 0 0 -1 0 0)">式</text></g></g></svg>

表格

|表头|表头|

|:--|--:|:--:|

:在左边表示左对齐,在右边表示右对齐,都有表示居中对齐

注释:

横线

使用三个---

注释:


引用

百度

脚注:

好好学习学习

[学习] 排除质疑

链接设置到标题

使用[]:(# xx)

文档作用:请参考标题1

ULR:

http://www.baidu.com

添加图片

百度

添加图片![名字]+(地址)

注释:

地址可以是本地和互联网地址

行内元素

一对内部是斜体,两对*是加粗,<u></u>,是下划线


注释;

具体教程详解在哔哩哔哩
<iframe src="//player.bilibili.com/player.html?aid=327623069&bvid=BV1JA411h7Gw&cid=171385214&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
嵌入式的播放器简书不支持,以下是markdown的哔哩哔哩的教程链接:
https://www.bilibili.com/video/BV1JA411h7Gw?share_source=copy_web

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。