Blogger Information
Blog 9
fans 0
comment 0
visits 4732
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
第一课:Markdown 10条基本语法
兰博
Original
371 people have browsed it

Markdown 10条基本语法

markdown 最终会转为html

1. 标题

  1. # 一级标题
  2. ## 二级标题
  3. ### 三级标题
  4. #### 四级标题
  5. ##### 五级标题
  6. ###### 六级标题

2. 分隔符

  1. ---
  2. 至少三个-

3. 段落

  1. markdown 是一种纯文本的标记语言
  2. 大家好,学习 PHP 可以做很多网络上的开发
  3. 兴趣是最好的老师,利润是最好的驱动力

4. 字体样式

  1. **加粗**
  2. _**斜体**_

内容
删除线

5. 引用

这是一个引用内容

二级引用

三级引用

6. 列表

(1)无序: 前加 “-“

  • list1
  • list2
  • list3

(2)有序: 直接用序号表示

  1. list1
  2. list2
  3. list3

7. 代码:单行用 `` ,多行用 ``` 将代码内容前后包住

(1) 单行: const num = 100
(2) 多行:

  1. class User
  2. {
  3. private string $username = 'admin';
  4. }
  1. const obj = {
  2. x: 1,
  3. y: 2,
  4. };

8. 表格

序号 姓名 性别 工资
1 朱长老 12345
2 欧阳奋强 78900
3 灭绝师太 87654

9. 链接 [内容](链接地址或路径)

今日头条

https://www.ixigua.com/

10. 图像 ![内容](链接地址或路径)

今日头条

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:可以,下次记得在“我的课程作业”https://www.php.cn/member/courses/work.html中选择对应的作业进行提交
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!