当前位置:网站首页>Markdown skill tree (2): paragraph and emphasis
Markdown skill tree (2): paragraph and emphasis
2022-06-29 07:23:00 【programmer_ ada】
Markdown The skill tree (2): Paragraph and emphasis
stay Markdown in , A paragraph is composed of more than one connected line , More than one blank line will cut out different paragraphs , General paragraphs do not need to be indented with white space or newline .
Blank lines are defined as lines that appear blank on the display , Will be regarded as a blank line .
such as , If a line contains only white space
andtab``, Then the line will also be treated as a blank line
「 More than one connected line form 」 This sentence actually implies Markdown Allow forced line breaks within paragraphs , This feature and most of the other text-to-HTML The format is different ( Include MovableType Of 「Convert Line Breaks」 Options ), Other formats turn every newline into <br /> label .
This means that Markdown in , If you need to display a paragraph as a paragraph , You need to ensure that there is at least one blank line above and below the paragraph , such as :
Here is paragraph one
This is paragraph two
This text is in Markdown Will be displayed as a line :
Here is paragraph one
This is paragraph two
If you need to wrap a paragraph , You can use more than two spaces plus a carriage return , such as :
Here is paragraph one
This is paragraph two
Here is paragraph one
This is paragraph two
Of course , You can also use a blank line after a paragraph to start a new paragraph , such as :
Here is paragraph one
This is paragraph two
Here is paragraph one
This is paragraph two
Besides , You can also choose to add... At the end of the first line <br> Line break , such as :
Here is paragraph one <br>
This is paragraph two
It will be displayed in two paragraphs :
Here is paragraph one
This is paragraph two
emphasize
Markdown Use the asterisk * And the underline - A sign used as a mark to emphasize words .
Italics
stay Markdown in , Put the content in * or _ Wrap it up , Surrounded words will be converted into Tag around , It will be displayed. Italics , such as :
* Here is the italicized content 1*
_ Here is the italicized content 2_
Will be displayed as
Here is the italicized content 1
Here is the italicized content 2
<em> Here is the italicized content 1</em>
<em> Here is the italicized content 2</em>
It should be noted that :
- What symbol is used to open the label , It's going to end with something
*and_There are blanks on both sides , They will only be regarded as common symbols- If you want to insert ordinary asterisks or underscores directly before and after the text , You can use backslashes
\* \_
bold
With two * or _ Wrap it up , Will be converted to , for example :
** Here is the bold text 1**
__ Here is the bold text 2__
Will be displayed as
Here is the bold text 1
Here is the bold text 2
<strong> Here is the italicized content 1</strong>
<strong> Here is the italicized content 2</strong>
Delete line
You can also use two ~ To add Delete line , for example :
~~ This content was deleted ~~
Will be displayed as
This content was deleted
<del> This content was deleted </del>
Summary
Let's review Paragraph and emphasis The knowledge of it :
- Paragraph wrap
- Emphasized grammar , Include Italics In bold as well as
Delete line
边栏推荐
- CI工具Jenkins安装配置教程
- Markdown 技能树(8):代码块
- What is the difference between software engineer and software development? What is the difference between software engineer and software developer?
- QT foreach keyword
- 服装行业的CRM品牌供应商如何选型?
- Using IPv6 to access remote desktop through public network
- ES 查询语法
- 虚拟DOM真的是最快的吗?
- 电子商务盛行,怎么提高商店转换率?
- 机器学习笔记 - 时间序列使用机器学习进行预测
猜你喜欢

A hybrid model of machine learning notes time series

大型化工企业数字化转型建议

QT qlineedit details

Solve the problem that NPM does not have permission

Redis in NoSQL database (4): redis publishing and subscription

Idea integrated code cloud

Multimodal learning pooling with context gating for video classification

利用IPv6实现公网访问远程桌面
什么是测试架构师

systemd 管理node-exporter
随机推荐
Markdown 技能树(1):MarkDown介绍
【翻译】Bink如何为英国一些最大的银行的数字忠诚度交易提供动力
JVM系列之对象深度探秘
2022.6.27-----leetcode. five hundred and twenty-two
机器学习笔记 - 时间序列的混合模型
消息队列之通过幂等设计和原子锁避免重复退款
CI工具Jenkins之二:搭建一个简单的CI项目
RPC and RMI
QT qlineedit details
uva11825
Error: GPG check FAILED Once install MySQL
NoSQL數據庫之Redis(五):Redis_Jedis_測試
测试人员需要了解的工具有哪些
Class differences of QT processing image data (qpixmap, qimage, qpicture)
施工企业选择智慧工地的有效方法
A hybrid model of machine learning notes time series
Markdown 技能树(6):列表
通过keyup监听textarea输入更改按钮样式
Spark RDD案例:统计每日新增用户
Illegal forward reference and enums