0%

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
      • 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...```

1
Sample text here...

Syntax Highlighting

```python .... ``` 此处的Python可以换为其他的语言,js、c…

1
2
3
4
5
6
7
8
9
10
11
12
13
@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)`

[Assemble](http://assemble.io)
#### Add a Title
`[Upstage](https://github.com/upstage/ "Visit Upstage!")`

[Upstage](https://github.com/upstage/ "Visit Upstage!")
#### Named Anchors
##### Table of Comments
 * [chaptor 1]

### Images
`![minion](http://octodex.github.com/images/minion.png)`
![minion](http://octodex.github.com/images/minion.png)
`![alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")`
![alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
`![alt text][id]
[id]:http://octodex.github.com/images/dojocat.jpg  "The Dojocat"`
![alt text][id]
[id]:http://octodex.github.com/images/dojocat.jpg  "The Dojocat"

### Footnote
`This is a Footnote[^footnote]`
This is a Footnote[^footnote]

`[^footnote]: This is **Footnote** *Content*.`
[^footnote]: This is **Footnote** *Content*.

### Reference
[GRAV](https://learn.getgrav.org/content/markdown)
原创技术分享,您的支持将鼓励我继续创作