MarkDown Editor
This Project provides the MD(MarkDown
) language environment in GitHub. It saves my basic MD files online.
Introduction
MarkDown is a very easy editing language, which appears in almost every large website, such as GitHub, and StackOverflow. More and more people find it very easy and simple to write files using this language, because we can spend more time focusing on the word itself rather than the complicated formats. Fortunately, we can totally master it by spending only 5 minutes.
Tutorials
We also provide some tutorials to the beginners, they are,
Syntax
Here are some syntax and notes you should pay attention to while writing this language.
1. Title 标题
We have three kinds of title styles, we only need add symbol #
, ##
, ###
in front of title context.
this is an H1
this is an H2
EXAMPLE:
this is an H1
this is an H2
2. Equation 引用
We can easily implement the equation if we want to reference some words. Adding >
in front of the equation.
China is sending an envoy and delegation to North Korea - A big move, we'll see what happens!.
- Trump
EXAMPLE:
China is sending an envoy and delegation to North Korea - A big move, we'll see what happens!.
- Trump
3. Listings 列表
We use +
, -
, and \*
to mark the listings, and all these three symbol have the same result.
Goldman Sachs CEO says U.K. should vote again on Brexit.
VW has a $12B plan for electric cars in China.
Semens is cutting 6,900 jobs.
EXAMPLE:
- Goldman Sachs CEO says U.K. should vote again on Brexit.
- VW has a $12B plan for electric cars in China.
- Semens is cutting 6,900 jobs.
4. Code 代码
We have simple to way to demostrate the different code segments by inserting code into ```
{:code} ```
.
public static void main(String[] args){
System.out.println("Hello, MarkDown!");
}
EXAMPLE:
public static void main(String[] args){
System.out.println("Hello, MarkDown!");
}
5. Link 链接
If we want to refer to a website in our text, we'd better use [:name](:links)
to show the website links. Click the hyper-links we can redirect to the website.
We can visit [Baidu](http:www.baidu.com), but we cannot visit [google](http://www.google.com/) in China.
EXAMPLE:
We can visit Baidu but we cannot visit google in China.
6. Table 表格
Table is a common elements in our daily word file. In MarkDown, we can implement it in the following way.
BOOK NAME AUTHOR PRESS PRICE
Intro. to GITHUB Hongji Dazhong Posts&Telecom ¥39.00
Intro. to MarkDown MingmingWuhan Uni. ¥50.00
EXAMPLE:
BOOK NAME | AUTHOR | PRESS | PRICE |
---|---|---|---|
Intro. to GITHUB | Hongji Dazhong | Posts&Telecom | ¥39.00 |
Intro. to MarkDown | Mingming | Wuhan Uni. | ¥50.00 |
7. Image 图片
To rich the text we have writed or improve the word's readability, and the method of inserting a image is similar to that of inserting a link.
![picture](imgs/readme.jpg)
EXAMPLE:
8. Mathematical 数学公式
The syntax of MarkDown is the same with LaTeX(such as youdao cloud and cmd Markdown), so all the symbols are list in the file docs. But we must note that some MD compilers CANNOT get the right results using LaTeX directly(such as GitHub and StackOverflow), so in that time we can only use HTML symbols to replace part of them.
+ =
EXAMPLE:
α + β = γ
9. CheckBox 勾选框
MarkDown can provide the function of checkbox when you want to emphase some points, using - [ ]
or - [x]
buy a book.
play a game.
EXAMPLE:
- buy a book.
- play a game.
10. Footnote 脚注
When we want to explain some terms or events, we can use footnote which record in the bottom of the pages. using [^ ] to keep note
We want to reference a paper here.
Gu, Yongfeng, J. Xuan, and T. Qian. "Automatic Reproducible Crash Detection." SATE 2016, 2016:48-53.
EXAMPLE:
We want to reference a paper [1] here.
[1]: Gu, Yongfeng, J. Xuan, and T. Qian. "Automatic Reproducible Crash Detection." SATE 2016, 2016:48-53.