Markdown Study Note title
Markdown The title of the use is very simple, directly in front of the text to add the # number represents the title, a # symbol for a title, # # # #二级标题, and so on. Total 6 levels
List
Lists are divided into ordered and unordered lists
Unordered list: Just add in front of the text-or the * sign
There are sequence tables: use 1 directly. 2.3. You can
- Title
- Content
- Summarize
Reference
If you need to reference a small piece of article elsewhere, you can use > to manipulate
Quote a paragraph of text
Body
Links and Pictures
Insert Link:
Baidu
Insert Picture: {Imgcap}{/imgcap}
Bold and italic
Bold: A piece of text contained in two * is bold.
Italic: A piece of text contained in a * is italic, or it is wrapped in italics.
For example: bold italic body
Code box
In-line code: You need to use two ' to wrap up the middle code.
protected void Page_Load () {String str = "ABC"; System.out.println (str);}
Indent Style code block: or 4 spaces in front of each line can also implement code block
public static void main () {
System.out.println ("Hello Markdown");
}
Multi-language code block: code blocks can use three ' to define start and end, language types can also be omitted
-
public static void main ( string [] Span class= "PLN" > args ) {
-
system out println "Hello Markdown"
-
}
/pre>
Split Line
Split line requires only three * numbers,-number and bottom line
Escape character
The escape character in Markdown is \
\ back Slash
' Anti-quote
* Asterisk
_ Underline
{} curly Braces
[] Brackets
() parentheses
# #号
+ Plus
-Minus
. English period
! Exclamation number
Using HTML tags in markdown
If you want to use HTML in markdown, you can write HTML tags directly. But to add a blank line to the front and back lines
In the HTML code, there are two characters to note:< and & if you need to use these two characters, you need to use their prototypes.
< correspondence <
& corresponding amp;
This is the HTML tag
Form
The use of tables in markdown is troublesome, as follows:
| ID | name |
| ------------ | ------------ |
| 1 | Zhang San |
| 2 | John Doe |
From for notes (Wiz)
Markdown Study Notes