测试
Paragraph and line breaks
A paragraph is simply one or more consecutive lines of text. In markdown source code, paragraphs are separated by more than one blank lines. In Typora, you only need to press Return
to create a new paragraph.
Press Shift
+ Return
to create a single line break. However, most markdown parser will ignore single line break, to make other markdown parsers recognize your line break, you can leave two whitespace at the end of the line, or insert <br/>
.
Headers
Headers use 1-6 hash characters at the start of the line, corresponding to header levels 1-6. For example:
# This is an H1
## This is an H2
###### This is an H6
In typora, input ‘#’s followed by title content, and press Return
key will create a header.
Blockquotes
Markdown uses email-style > characters for block quoting. They are presented as:
This is a blockquote with two paragraphs. This is first paragraph.
This is second pragraph.Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
This is another blockquote with one paragraph. There is three empty line to seperate two blockquote.
这是一段中文测试。
In typora, just input ‘>’ followed by quote contents a block quote is generated. Typora will insert proper ‘>’ or line break for you. Block quote inside anther block quote is allowed by adding additional levels of ‘>’.
Lists
Input * list item 1
will create an un-ordered list, the *
symbol can be replace with +
or -
.
Input 1. list item 1
will create an ordered list, their markdown source code is like:
- Red
- Green
- Blue
- Red
- Green
- Blue
Task List
Task lists are lists with items marked as either [ ]
or [x]
(incomplete or complete). For example:
- a task list item
- list syntax required
- normal formatting, @mentions, #1234 refs
- incomplete
- completed
You can change the complete/incomplete state by click the checkbox before the item.