Recommend a very useful Markdown editor: http://www.typora.io/
Basic tips:
Code highlighting
If you only want to highlight a function name or keyword in a statement, you can use the ' implement
The editor usually fits the appropriate highlighting method according to the diamagnetic fragment, but you can also "wrap a piece of code and specify a language
Supported languages:actionscript, apache, bash, clojure, cmake, coffeescript, cpp, cs, css, d, delphi, django, erlang, go, haskell, html, http, ini, java, javascript, json, lisp, lua, markdown, matlab, nginx, objectivec, perl, php, python, r, ruby, scala, smalltalk, sql, tex, vbscript, xml
You can also indent with 4 spaces and paste the code to achieve the same effect
Title
# # Big title ##### Small Title # # #
Bold Italic Body
* Italic text * Italic Text _* * Bold text * * Bold text __* * Bold Italic text * * * Coarse Italic text ___
Link
Common link methods
Text link [link name] (http:// link url) URL link // link URL >
Advanced Link Tips
This link uses 1 as the URL variable [google][1]. This link uses yahoo as the URL variable [yahoo!] [Yahoo]. Then at the end of the document, assign a value to the variable (URL) [1]: http://www.google.com/ [Yahoo]: http:/ /www.yahoo.com/
List
General unordered List
-Use the [Plus + space] * list text before using [minus + space]+ list text before the list text [asterisk + space]
General ordered List
1. Use [number + space]2 before the list. We'll automatically add numbers for you.
List nesting
1. List all elements: - unordered list element a 1. Ordered sub-list of element a -preceded by four spaces 2. Multi-paragraph wrapping in the list: You must add four spaces in front so that the whole format will not be 3. List references: > front empty line > still needs to be in > Add four spaces to the front 4. List code snippet: "' front four spaces, followed by code syntax ' write ' ' or directly empty eight, introduce code block
Reference
General references
> Quote text before using [greater than sign + space]> Fold line can not add, the new line to add OH
Nested references in references
> Outermost Reference > > Multiple > nested one-layer reference > > > Can nest many layers
Nested lists in references
>- This is a list of nested in References >- can also have sub-list > * sub-list needs to start from-after four spaces delay
Nested code blocks in references
> Similarly, add four spaces in front of the code block > > '> ' or use ' ' to form blocks of code > '
Image
Summary of common grammar in Morkdown