the experience of learning markdown syntax

Posted diamondDemand

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了the experience of learning markdown syntax相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

The second curriculum design experiment report in spring 2019

A period of time对不对

User Experience of Smart Device

The experience that I fix an error during coding

2020-04-19-experience-of-interview-of-google

Experiments on the NYC dataset(updated 3rd,Aug)