标签:ber option eve graphs navig state sed :link process
markdown is powerful(frame, flow chart, formula), it is convenient to transform the formate of article of markdown syntax to pdf, txt etx
basic use method
ltalic text:*text*
bold text:**text**
bold italic: ***text***
add strikethrough:~~text~~
title:first level title: #text or text
====
second level title:##text or text
------------
quote: add > before papagraph
code format
use " ’ " to format code in a line
list
disorder list
add * or + or - as symbol before text
order list use the number followed by an english period to indicate an order list,note that the preceding number has no effect on the list
1. text
2.picture
3. form
list nested
the list can be nested, adding the tab indentation to indicate the level. for example, the follow markdown code
1.text
1.emphasize
-bold
-italic
-bold and italic
2.quote
2.image
3.form
multi-segment list
the list item can contain multiple paragraphs,and the paragraphs under each item must be indented by four spaces or one tab
1.learning Markdown
the website of learning Markdown, we can refer to the end of the article learning, resources, documents, cass, tutorials, it is easy to learn
2.using Markdown
you can use the client and online editor
2.4 links
Markdown supports two form of link syntax: both inline and reference
2.4.1 inline links
first let‘s to learn inline format, just follow the bracket by parenthesis and insert the url link into parenthesis, if you want to add the title of url link, as lang as the URL in the back, put the title into the quotation marks
welcome to visit my [blog](www.baidu.com"blog")
can not add the tielt of URL link[blog](www.baidu.com)
2.4.2 reference link
reference link needs to define the content of the URL link, and then quote the defination to set link
defination the content of link format is:
[link name]:link address "link title"
the format of setting link is:
[link text][link name]
2.3.4
page navigation
we can use markdown to implement page navigation, processed as follows
1.first define a anchor
<div id="fotter"><div>
[to the bottom](#footer)
2.5 picture
Markdown use a syntax that is similar to a link to mark a picture, and also allows two styles, inline and reference,
inline formate picture looks like this
![Alt text](the website of picture)
![Alt text](the website of picture "optional title")
reference formate picture looks like this
![Alt text][id]
[id]: url/to/image "optional title attribute"
note, so far, Markdown has no way to specify the width of the picture, if you need, you can use the ordinary label;
if the picture is larger than the display area, the picture width is adaptive, and if the picture is small, it is displayed in its original size
2.6 split lines
you can use three or more asterisk, minus sign, and bottom line to create a split line in one line, there is nothing else in the line. you can also insert a space in the middle of asterisk or minus.each of the following statement can create a split line
***
* * *
----
- - - - -
2.7 trope
markdown use the backslash to implement trope, support the follow symbols in front of backslash to help insert the common symbols
\ backslash
" back quote
* aterish
_ underline
{} brace
[] bracket
() parenthesis
#
+ plus
- minus
. english dot
! exclamation
the experience of learning markdown syntax
标签:ber option eve graphs navig state sed :link process
原文地址:http://www.cnblogs.com/1915884031A-qqcom/p/7667907.html