常用的markdowm语法

长时间不写博客了,md语法都忘了

Posted by ZYT on March 12, 2019

常用的markdowm语法

一段不写博客了,md语法都忘记了,中那个是最基本的###***别的都忘了,写出来的篇幅越来越难看,做个模板在这放着吧,哪个在突然忘记了就从这找

本md文件[下载地址][link-download-md] [link-download-md]:https://github.com/android-zhaoyongtao/Temp

最基本的各级标题

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

一级标题的另一种写法

二级标题另一种写法 —-

文字中的部分加粗的写法

文字中的斜着字体的写法

文字中的倾斜加粗的写法

待删除

更多的写法

样式 写法 Result if enabled
重要字符 So A*maz*ing So Amazing
删除线 ~~Much wow~~ Much wow
下划线 _So doge_ So doge
引用 "Such editor" Such editor
高亮 ==So good== So good
上标字符 hoge\^(fuga) hogefuga
自动超链 http://t.co http://t.co
脚注(需定义) [\^4] and [\^4]: 1 and footnote 4

超链+跳转

文本中能点的地址https://www.baidu.com

文本中能点的邮箱285929232@qq.com

文字中的超链接

还可以这样超链接 [a link][link_id] 其中link_id再稍后定义,建议上一种简单 [link_id]:https://baidu.com

还可以这样超链接[like this],还是第一种简单,但这种可以放在文章末尾定义 [like this]:https://baidu.com

跳转到某个标题部分,[]内为显示文字,(# )内为跳转路径.比如生命的故事

圆点

  • 无序列表,用 * + - 都可以表示
  • 无序列表,用 * + - 都可以表示
  • 无序列表,用 * + - 都可以表示
  • 前面有空格就是空心圆点一
  • 前面有空格就是空心圆点二 * 再远点就是方点

区块引用

两行就是连着的竖条

竖条还可以两条

甚至三条

八条?卧槽

  • 竖条中也能加圆点

代码

文字中的代码这样写文public static字中的代码这样写.

段落的代码这样写

public static void main(String[] args) {
        System.out.println();//注释
}

也可以用~~~

public static void main(String[] args) {
        System.out.println();//注释
}

前边加个tab键也能写成写成段落中的代码

//前边加个tab键也能写成写成段落中的代码
public static void main(String[] args) {
    System.out.println();//注释
}

分割线

用三个 * (或 - 或 ) 表示 *** — __

生命的故事

在移动设备上,跨进程通信对通信机制的性能有严格的要求 Binder基于 Client-Server通信模式,传输过程只需一次拷贝 ,而管道、消息队列、Socket都需要2次,共享内存方式一次内存拷贝都不需要,但实现方式又比较复杂

  1. 一堆介绍的文字,会自动放在MD的最后,还能点回去. You don’t have to use a number. Arbitrary things like [^footy note4] and [^footy note4]: will also work. But they will render as numbered footnotes. Also, no need to keep your footnotes in order, I will sort out the order for you so they appear in the same order they were referenced in the text body. You can even keep some footnotes near where you referenced them, and collect others at the bottom of the file in the traditional place for footnotes.