Home >WeChat Applet >WeChat Development >Summary of the use of markup language (Markdown) introduction
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.
The following is the format commonly used in Markdown:
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:
##Single-line text and
multi-line textAdd two
Tab before Can
文本前加入两个Tab即可 文本前加入两个Tab即可
md writing method:
* 昵称:隔壁小王 * 别名:隔壁老王 * ID:小王
The result shows:
number+
.+
Content
md writing method:
1. 前端 3. 后台 4. 测试 9. UI 6. 产品
Result display:
number here is not required Arrange them in a certain order.
md writing method:
* 编程语言 * 脚本语言 * Python
Result display:
md writing:
![面对疾风吧](http://upload-images.jianshu.io/upload_images/3876828-a4346506018aa44f.gif?imageMogr2/auto-orient/strip "哈赛给 啊痛")
The result shows:
md writing method:
[个人博客](zmnaer.com "zmnaer个人博客")
The result shows:
Personal Summary of the use of markup language (Markdown) introductionmd 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:
md writing method:
第一行文字 <br/> 第二行文字
The result display:
First line of textSecond line of textmd writing method:
`高亮`显示的`文字` *斜体*@文字 **粗体**@文字 ***加粗斜体***@文字
The result display:
Highlight displayed
text
Italic@Text
Bold@Text
Bold Italic@Text
md is written as:
+bash
(or java, javascript, php, html...) + newline + code block...
+ newline + three ·
document.getElementById('obj');//javascript
here is English input method
下注 Please ignore the character above the Tab key
, +
.
|表头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!