Markdown is a markup language that can be written using an ordinary text editor. Through simple markup syntax, it can make ordinary text content have a certain format, thereby making the text easy to read and write, and enhancing readability. Therefore, Markdown is widely used in communication and learning websites with large amounts of text such as hexo personal Summary of the use of markup language (Markdown) introduction, Github, and Coding.
Markdown
The following is the format commonly used in Markdown:
1. Title
The title has six levels, divided into level one, level two... to level five and level six, similar to the
h1-h6
tag in HTML, add before the title text#, the first level is preceded by one
#, the sixth level is preceded by six
#, and so on.
Tips: Add a
space
between# and the following text.
md writing method:
# 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ####### 六级标题
The result shows:
First level title
Second level title
Three level title
Fourth level title
Fifth level title
Sixth level title
2. Single-line text and multi-line text
##Single-line text
and
multi-line textAdd two
Tabbefore Can
文本前加入两个Tab即可 文本前加入两个Tab即可
3. Unordered (ul) list
md writing method:
* 昵称:隔壁小王 * 别名:隔壁老王 * ID:小王
The result shows:
- Nickname: Little King Next Door
- Alias: Old King Next Door
- ID: Xiao Wang
4. Ordered (ol) list
- A
number
+
.+
Content
md writing method:
1. 前端 3. 后台 4. 测试 9. UI 6. 产品
Result display:
- Front-end
- Backend
- Test
- UI
- Product
- Tips: The
number
here is not required Arrange them in a certain order.
5. Structure list
md writing method:
* 编程语言 * 脚本语言 * Python
Result display:
- Programming Language
- Python
- Scripting Language
6. An image with a title attribute (img tag)
md writing:

The result shows:
7. A hyperlink (a tag)
md writing method:
[个人博客](zmnaer.com "zmnaer个人博客")
The result shows:
Personal Summary of the use of markup language (Markdown) introduction8. One has a hyperlink The picture of
md is written as:
[![zmnaer]](http://zmnaer.com) [zmnaer]:img.php.cn/upload/article/000/001/506/68b17795853d56aba0979fd7c03deb19-2.gif "Summary of the use of markup language (Markdown) introduction"
The result shows:
9. Line break (br)
md writing method:
第一行文字 <br/> 第二行文字
The result display:
First line of textSecond line of text10. Highlight text, italic, bold, bold italic
md writing method:
`高亮`显示的`文字` *斜体*@文字 **粗体**@文字 ***加粗斜体***@文字
The result display:
Highlight displayed
text
Italic@Text
Bold@Text
Bold Italic@Text
11. The specially displayed text block
md is written as:
- ##三
- ·
+
bash
(or java, javascript, php, html...) + newline +code block...
+ newline + three·
document.getElementById('obj');//javascript
- Tip: The
- ·
here is
English input method
下注Please ignore the character above the Tab key
,+
.
md writing method:
|表头1|表头2|表头3|
|:---:|:---:|:---:|
|con11|con22|con33|
|con11|con22|con33|
Header 2 | Header 3 | |
---|---|---|
con33 | con11 | |
con33 |
The above is the detailed content of Summary of the use of markup language (Markdown) introduction. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools
