What is Markdown?
Markdown is a lightweight markup language, the founder of John Grouber (John Gruber). It allows people to "write documents in plain text format that is readable and easy to write, and then convert them into valid XHTML (or HTML) documents-Wikipedia
If you do not understand the above Wikipedia definition of Markdown, it will be when this part of the pinch is not broadcast. John Grouber's own description of Markdown is also focused on "easy-to-read,easy-to-write".
So where is easy?
Although called "Markup Language," a simple understanding of Markdown is to add symbols before text to represent text formatting. You don't have to care about how large the title is, how much the list is indented, whether it's aligned, and Markdown has helped you with the same symbol tag.
No picture, no truth:
Benefits of Markdown
- edit, don't worry about typesetting you just have to focus on the content. The author before using Markdown, open Word first think about, the title with what font, the number of words? Unconsciously, my willpower was consumed. In fact, the so-called typesetting, is not the author's thinking and content of the hierarchy and structure, after learning to use Markdown, a few simple symbols to take care of these things, the style is particularly neat and elegant.
- change, do not worry about the layout of the Word document that you change to change between colleagues, if a child's shoes from the outside to paste a piece of formatted text, then you open the document again will find that the whole person is not good: The format has been changed the mess, but also to readjust. If you use Markdown Group notes, want to change where to change, don't worry about the format, change the comments directly @TA, how easy!
In a word, Markdown is the simplest way, 0 typesetting cost, write the layout neat, reading comfortable notes. reduce interference, reduce costs, improve efficiency , and look neat on whatever device. Not only do you read cool, share to friends also have Wannna not ~
Those cows are all in use.
Yang Zhiping in 2012 on the blog respected a bit Markdown, but that article, although the interpretation of the profound, but also slightly show a geek, Markdown not only can typesetting, can do the flow chart, but also support the characteristics of the mathematical formula introduced once, even the scientific and technological papers have to choose Markdown have dabbled. Children's shoes interested in reading can be viewed here.
Many online blogs and content communities offer the Markdown editor, which not only brings a comfortable, unified, and beautiful experience to reading, but also makes it effortless for everyone involved in writing to write neatly formatted articles.
How to create Markdown notes on notes for your knowledge
For notes all clients support Markdown, there are two ways to create Markdown notes
- The first: After the note title, Add. MD, edit and save to see the effect after rendering
- The second type: Create Markdown notes directly on the mobile side
After editing, click the "Save" button, you can see the beautifully formatted notes!
A little trick.
No matter what I say Markdown's grammar memory burden is small, simple, you will be a bit dizzy at first. Here are a few tips for you to share:
- Initially only need to remember,,,
# 标题一
## 标题二
1. 第一点
* 这一点
, with these several write logs, requirements documents, small articles, typesetting enough;
- Gradually you find that some words need to point out, then you can also use
**加粗**
, *斜体*
to focus on the text to explain;
- If you are a programmer, then you can use
```
the code block package, after rendering can be highlighted keyword, use >
can be used to make references;
- Student's words, go to know LaTex bar, for note Markdown support Mathjax formula rendering Oh ~
Markdown format marker Symbol Description 1. Title
Insert 1 to 6 # at the beginning of the line, representing Heading 1 to Heading 6, respectively
# 这是标题1## 这是标题1###### 这是标题6
Click on the effect after saving:
Title 1 Title 2 heading 62. Ordered list
Increase at the beginning of the line,, that is, the 1.
2.
3.
number and the English period, do not require the number must be continuous, can be1.
1. 有序列表1. 有序列表4. 有序列表
Click on the effect after saving:
- Ordered list
- Ordered list
- Ordered list
3. Unordered list
Increase at the beginning of the line *
or-
* 无序列表* 无序列表
Click on the effect after saving:
- Unordered list
- Unordered list
4. Insert Picture
You can paste the picture directly, or drag the picture file to the cursor.
You can also use the standard markdown syntax, such as:
![](http://cdn.wiz.cn/wp-content/uploads/2015/06/wiz_logo.png)
5. Inserting links
[描述](链接地址) ,例如:[为知笔记](http://www.wiz.cn),注意要使用英文符号
Click on the effect after saving:
To know the notes
6. Bold, italic, strikethrough
Bold: Add before and after text **
(note that there is no space between the symbol and the text)
Italic: Add before and after text*
Strikethrough: Add before and after text~~
**粗体**
*斜体*
~~删除线~~
Effect after saving:
Bold body
Italic body
Delete Line
7. References
Add in front of text>
Click on the effect after saving:
If you can't express your ideas succinctly, that means you don't know them well enough. --Albert Einstein
8. Forms
| 为知笔记|更新 | 版本 |
|------------|-----------|--------|
| WizNote | Markdown| Latest |
Click on the effect after saving:
to know the notes |
Update |
version |
Wiznote |
Markdown |
Latest |
9. Code
Add three anti-single quotes before and after the code:```
```int i = 0; i = 1; for (int i = 0; i < 100; i++){ printf("hello markdown!\n");}```
Effect after saving:
10. Catalogue
In any place where you want to show the Markdown notes directory, add [TOC]
, in reading mode, the title 1~6 style content will be extracted as a table of contents, equivalent to the outline function.
For example:
[TOC]
# # # #Markdown is what
The Benefits of # # # #Markdown
Click on the effect after saving:
One-Mathjax formula
可以创建行内公式,例如:$\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$
或者块级公式,
$$ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
Click on the effect after saving:
12. Flowchart
"Flow
St=>start:start
E=>end:end
Op1=>operation:my operation
Sub1=>subroutine:my subroutine
Cond=>condition:yes or No?
Io=>inputoutput:catch something ...
St->op1->cond
Cond (yes)->io->e
Cond (NO)->sub1 (right)->OP1
```
Post-Save effects:
Attention:
1) The colon after the keyword (start, end, operation, subroutine, condition, and InputOutput) is followed by a space.
2) Connect two elements with, for condition type, yes and no two branches, such as cond (YES) and cond (NO) in the example.
More about Flowchart Syntax Description: http://adrai.github.io/flowchart.js/
13. Timing Diagram
"' Sequence
Alice->bob:hello Bob, how is it?
Note right of Bob:bob thinks
Bob-->alice:i am Good thanks!
```
Post-Save effects:
More about the timing diagram Syntax Description: http://bramp.github.io/js-sequence-diagrams/
-------------------------------------------------------------------------------------------------------
Transferred from: http://www.wiz.cn/feature-markdown.html
Go Markdown Beginner's Guide