MarkDown基本语法小结

来源:互联网 发布:淘宝访客进店提醒 编辑:程序博客网 时间:2024/05/17 06:59

今天学习了Udacity的README课程,知道了写注释和文档的重要性。了解了MarkDown的基本语法,如下:

这是标题h1

这是标题h2

以下是代码

hello world

以下是代码块

<nav class="top">    <a href="#">        <span class="glyphicon glyphicon-home redColor"></span>天猫首页    </a>    <span>喵,欢迎来天猫</span>    <a href="#">请登录</a>    <a href="#">免费注册</a>    <span class="pull-right">        <a href="foreBought">我的订单</a>        <a href="foreCart"><span class="glyphicon glyphicon-shopping-cart redColor"></span>购物车<strong>0</strong></a>    </span></nav>

以下是加粗
this is bold

以下是斜体
this is italic

以下是插入链接
here

以下是插入列表
* item1
* item2
* item3

以下是插入有序列表
1. list1
2. list2
3. list3

以下是插入图片
GitHub set up

今天暂时写到这里,喵!