foreword
Today, the editor will introduce an editor, which is also the Markdown editor used by the editor to write this article. It is the tool that the majority of bloggers want to publish articles. So do you know what are the conveniences of his?
What is Markdown
Markdown is a lightweight markup language that enables ordinary text to have a certain format through a simple syntax. If you often write blogs, you should feel the same way. Markdown in CSDN allows you to directly write the text and typesetting you want without taking your hands off the keyboard, providing bloggers with an ultra-efficient and immersive writing experience.
Two editors in CSDN
Of course, in order to be more friendly, our CSDN has two built-in editors for various bloggers' habits, one is rich text and the other is markdown
- Markdown
- rich text
From the simplest page above, everyone should be able to see the general demeanor of Markdown! ! ! Hahaha
, of course, the editor has been using markdown all the time. I really feel that markdown is yyds. Do you all set it up like me?
The default authoring editor is the Markdown editor. Many partners may not know the powerful functions of this editor. The following editor summarizes some common operation syntaxes for everyone.
Common syntax of Markdown
1. Title
In the editor, we can add the # sign in front of the title, # is the first level, ## is the second level and so on. . . . At most level six
Note that there must be a space between # and the title text here
Example
2. Font settings
- bold font
- italic
- italic bold
- add strikethrough
Example
3. Quote Content
1. In the title, you can see that a small line has been written (as shown in the figure below)
, and we only need to add > in front of the quoted text, and we can use it in combination with the grammar in the font settings.
Example:
4. Dividing line
Dividing lines may be needed to distinguish articles in our articles, we only need three or more - or *
Example:
5. Pictures
[External link image transfer failed, the source site may have an anti-leech mechanism, it is recommended to save the image and upload it directly (img-sCfVAVUd-1636537443518) (image address ''image title'')]
Picture alt is the text displayed below the picture, which is equivalent to an explanation of the content of the picture.
The picture title is the title of the picture, the content displayed when the mouse moves over the picture. title can be added or not
local image
We can directly copy the picture and paste it
6. Hyperlinks
[超链接名](超链接地址 "超链接title")
title可加可不加
Example
list
- Unordered list
Add - in front of the text - Ordered list
just add numbers in front of the text
Example
sheet
表头|表头|表头
---|:--:|---:
内容|内容|内容
内容|内容|内容
第二行分割表头和内容。
- 有一个就行,为了对齐,多加了几个
文字默认居左
-两边加:表示文字居中
-右边加:表示文字居右
注:原生的语法两边都要用 | 包起来。此处省略
Example
9. Code
10. Flowchart
tertiary module
write at the end
- This event was initiated by CSDN, thanks to CSDN blogger Glacier and Machinery Industry Press for co-sponsoring. "Deep Understanding of Distributed Transactions" is a book that explains distributed transactions in a systematic, comprehensive, in-depth and meticulous manner. , principle analysis, source code implementation and engineering practice five dimensions to give a comprehensive and in-depth explanation of distributed transactions, trying to solve all the problems you encounter in practice about distributed transactions. The whole book is equipped with a large number of flow charts and schematic diagrams, which are convenient for readers to read and understand. A large number of complete cases and codes from the production environment are selected for readers to practice. Reading this book will achieve a multiplier effect.