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

 


 

转载于:https://www.cnblogs.com/1915884031A-qqcom/p/7667907.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
"Learning Markdown Write for the Web Faster.pdf" 是一份学习使用 Markdown 语法撰写网页的指南。Markdown 是一种轻量级的标记语言,用于简化网页编写过程并提高效率。这份指南介绍了如何使用 Markdown 语法编写文本,以及如何添加格式、链接、图片和表格等元素。 首先,这个文件会教会我们如何使用 Markdown 的基本语法。Markdown 使用一些简单的符号和约定来表示文本的格式,例如使用星号表示斜体或加粗,使用井号表示标题级别,使用减号或星号表示列表等等。这样的语法规则非常容易上手,而且可以减少繁琐而重复的 HTML 标签输入。学习和熟练掌握 Markdown 语法可以大大提高我们撰写网页的速度。 其次,这份指南还介绍了Markdown如何添加链接和图片。在 Markdown 中,我们可以使用简短的语法将链接和图片插入到文本中,而无需编写冗长的HTML代码。这使得在网页中添加外部链接或显示图片变得更加简单和高效。 最后,这份教程还指导我们如何创建和编辑表格。在Markdown中,我们可以使用简单的符号和对齐方式来创建和修改表格,并且可以轻松地在其中添加或删除行和列。这样一来,我们在编写网页时需要用到的简单表格就可以直接使用Markdown语法来创建,而不需要复杂的HTML代码。 总而言之,"Learning Markdown Write for the Web Faster.pdf" 提供了一个方便快捷的学习指南,帮助我们掌握使用 Markdown 语法来更快地撰写网页。通过学习和应用 Markdown,我们可以以更高效和简洁的方式创建和编辑网页内容,提高工作效率并节省时间。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值