Markdown Syntax
Heading
# h1
h1
## h2
h2
### h3
h3
#### h4
h4
#### h5
h5
##### h6
h6
Comments
<!--
This is a comment!
-->
Horizontal Rules
---
***
Emphasis
**This is Bold Text!**
This is Bold Text!
__This is Bold Text!__
This is Bold Text!
*This is Italic Text!*
This is Italic Text!
_This is Italic Text!_
This is Italic Text!
This is StrikeThrough Text!
This is StrikeThrough Text!
Bolck Quotes
> This is BlockQuotes
>> This is test
>>> This is Notes!
This is BlockQuotes
This is test
This is Notes!
List
Unordered
* + -
: 可以实现无序排列
[ ] [x]
: 表示复选框, [ ]
表示未选中, [x]
表示选中
Sample:
* Language
+ C Family
- [ ] C
- [x] C++
+ Python
+ Java
* System
+ Linux
- CentOS
- Redhat
+ MacOS
+ Windows
Ordered
1. 2. 3. 4. ...
:数字之后加入. 便可以表示序列`
Sample:
1. test01
2. test02
3. test03
4. test04
Code
Inline Code
In this Example `<Section> </Section>` Should be Wrapped with **Code**
In this Example <Section> </Section>
Should be Wrapped with Code
Indented Code
None
block code “fences”
```markup Sample text here...```
Sample text here...
Syntax Highlighting
```python .... ```
此处的Python可以换为其他的语言,js、c…
@requires_authorization
def FuncName(param1='', param2=0):
'''A docstring'''
if param1 > param2: # intersting
print 'Greater'
return (param2 - param1 + 1) or None
class ClassName(object):
"""docstring for ."""
def __init__(self, arg):
super(, self).__init__()
self.arg = arg
>>> message = '''interpreter
... prompt'''
Tables
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Colum | Colum | Colum |
---|---|---|
row | row | row |
row2 | row2 | row2 |
Aligned text
-----:
Right Aligned
:-----
Left Aligned
:----:
Center Aligned
Links
Basic Links
[Assemble](http://assemble.io)
Add a Title
[Upstage](https://github.com/upstage/ "Visit Upstage!")
Named Anchors
Table of Comments
- [chaptor 1]
Images
![minion](https://i-blog.csdnimg.cn/blog_migrate/1107fbc487339933ae99fb13d7bda54f.png)
![alt text](https://i-blog.csdnimg.cn/blog_migrate/9ab587cf6e2b789b33b5b1d316f4bc2a.jpeg "The Stormtroopocat")
![alt text][id]
[id]:https://i-blog.csdnimg.cn/blog_migrate/5f3b427245df01f47f7b5e24e6027f4d.jpeg "The Dojocat"
Footnote
This is a Footnote1
This is a Footnote2
3: This is **Footnote** *Content*.