Markdown is a lightweight "markup language", which has many advantages and is now widely used by writers who are more and more writing enthusiasts. See here Please do not be confused by "Mark", "language", Markdown syntax is very simple. There are no more than 10 commonly used marker symbols, this is a very lightweight, less expensive, learning-cost Markdown than a more complex HTML markup Language, and once you get familiar with this grammar rule, it will work once and for all.
I. Understanding Markdown
As mentioned in the introductory note, Markdown is a lightweight "markup language" for writing, which replaces typography with concise syntax, rather than the word-processing software we use. word or Pages has a lot of typography and font settings. It allows us to focus on the code word and use the "tag" syntax instead of the common typesetting format. For example, from the content to the format, and even illustrations, the keyboard can be all done. Currently, there are many editors that support Markdown syntax, including many websites (such as Pinterest) that support Markdown text entry. Markdown from writing to completion, export format as you like, you can export HTML format files for the site publishing, can also be very convenient to export PDF format, this format of the resume can be more favorable to HR. You can even use the CloudApp cloud Service tool to upload directly to a Web page to share your article, the world's largest lightweight blogging platform TUMBLR, and support the use of Markdown tools such as the Mou to edit and upload directly.
Markdown Official documents
Here you can see the official Markdown Grammar rules document, and, of course, I will use my own way to illustrate the usage of these grammars in practice.
Advantages of using Markdown
- Focus on your text content rather than the typography style.
- Easily export HTML, PDF, and your own. md files.
- Plain text content, compatible with all text editors and word processing software.
- readable, intuitive. The language of writing for everyone.
What tools should I use?
MAC Platform
- On Mac OS X, I highly recommend that you use the MoU this free and very useful Markdown editor, it supports real-time preview, both the left is your editor Markdown language, on the right will generate real-time preview effect, the author of the article is the MOU written by the application.
Second, there are many similar options. If you're an editor, I highly recommend you buy Ulyssesⅲ, which is the best of Apple's Mac app Store last year , and it supports more writing formats and more documentation than the Mou. Mou, IA Writer These applications are based on the management of single document, and Ulyssesⅲ support Folder, Filter management, a folder can be created between multiple Sheet,sheet can also be Combine processing.
Windows, IOS, WEB platforms
The author did not use the Windows Markdown tools, but after the introduction of friends, there are two is quite good, a section called Markdownpad, another is called Markpad.
There are quite a few apps on IOS that support Markdown syntax editing, such as Drafts, day one, IA Writer, and so on.
On the Web side, I strongly recommend this product of Jane, there are countless people who love the text in the continuous creation, sharing. The use of Markdown on the Web side is no more comfortable than the simple book, it also supports the left and right two columns of real-time preview, elegant fonts, concise.
- Also on the Web side, Draftin's online MD editor is almost perfect.
Ii. Brief rule title of Markdown grammar
The title is the most commonly used format for every article, and in Markdown, if a piece of text is defined as a title, just add the number before the text #
.
# 一级标题
## 二级标题
### 三级标题
And so on, a total of six levels of title, it is recommended to add a space after the pound, this is the most standard Markdown syntax.
List
Familiar with the HTML of the classmate must know that there is a sequence table and unordered list of differences, under Markdown, the list of the display only need to be in front of the text -
or *
can become unordered list, there is a sequence table directly in front of the text with the 1.
2.
3.
symbol and the text to add a The space of the character.
Reference
If you need to refer to a small section of a sentence elsewhere, then use the quoted format.
> 例如这样
Just add >
this angle bracket (greater than sign) before the text to
Pictures and Links
The insert link is much like the syntax for inserting a picture, the difference between a !
number
The address of the image to be inserted needs a bed, here is recommended CloudApp service, generate the URL address.
Bold and italic
Markdown Bold and italic are also very simple, with two *
contains a paragraph of text is the syntax of bold, with a *
paragraph containing a text is italic syntax.
For example: Here is the bold body here is italic
Form
The form is where I find the Markdown more tiring, as in the following examples:
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
This syntax generates the following table:
Tables |
| is
Cool |
Col 3 is |
right-aligned |
$1600 |
Col 2 is |
Centered |
$ |
Zebra Stripes |
Is neat |
$ |
Code box
If you are a program ape, you need the elegant reference Code box in the article, the implementation under the Markdown is very simple, only need to use two ' to wrap up the middle code, such as `code`
. Legend:
Use the tab
key to indent.
Split Line
The syntax of the split line only requires a separate line, and you can enter three consecutive asterisks ***
.
Summary
Here, Markdown Basic Grammar in the daily use of the basic is no big problem, as long as more practice, with good tools, writing things will certainly be flowing. More grammar rules, in fact, the MOU's Help document example is very good, when you first use the MOU, the document will be displayed, second, you can also use the shortcut key during the writing process to CMD+R
quickly open the document, to review and learn grammar at any time.
Understanding and Getting Started Markdown