Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。
Markdown的语法简洁明了、学习容易,而且功能比纯文本更强,因此有很多人用它写博客。世界上最流行的博客平台WordPress和大型CMS如Joomla、Drupal都能很好的支持Markdown。完全采用Markdown编辑器的博客平台有Ghost和Typecho。
用于编写说明文档,并且以"README.MD"的文件名保存在软件的目录下面。
除此之外,现在由于我们有了RStudio这样的神级编辑器,我们还可以快速将Markdown转化为演讲PPT、Word产品文档、LaTex论文甚至是用非常少量的代码完成最小可用原型。在数据科学领域,Markdown已经广泛使用,极大地推进了动态可重复性研究的历史进程。
准备
标题
三级标题(井号后空格 再写标题内容 最后回车 几级标题几个井号 )
四级标题
......
字体
Hello,World! (两边各两个* ——>黑体,加粗)
Hello,World! (两边各一个*——>斜体)
Hello,World! (两边各三个*——>斜体加粗)
Hello,World! (两边各两个~ ——>划线)
引用
引用内容,一般摘抄别人文章的时候引用 (写一个> 然后空格就可以写了)
分割线
(三个 - 或三个 * 后回车)
图片
(在英文状态写 ![图片名称]*(*英文括号 会出现路径 可上传本地图片 也可上传网站上的图片*))
超链接
格式:英文状态下的”【】()“ 【】里面写“点击某某链接”()里面写网址
(在本页面按住 Ctrl 再点击就能打开)
列表
-
A
-
B
-
C (序号加英文状态下的点后要空格再写内容)(有序列表)
-
A
-
B
-
C (减号后回车)(无序列表)
表格
(右键插入表格)
代码