当前位置:网站首页>Markdown 常用到的一些编写技巧
Markdown 常用到的一些编写技巧
2022-08-11 05:16:00 【FussyCat】
用Markdown编写.md文件常用的编写技巧
1. 绘制表格
用markdown绘制表格有两者方式,一种是用管道符 “|” 来绘制,还有一种方式是用html格式来绘制。
1.1 用管道符"|"的方式
语法格式如下:
| 表头A | 表头B |
| ---- | ---- |
| 单元格1 | 单元格2 |
| 单元格3 | 单元格4 |
效果:
| 表头A | 表头B |
|---|---|
| 单元格1 | 单元格2 |
| 单元格3 | 单元格4 |
1.2 用html格式的方式
<table>
<tr>
<th> 类名 </th>
<td colspan="3"> StudentClass </td>
</tr>
<tr>
<th rowspan="4"> 属性 </th>
<th>属性名</font></th>
<th>属性类型</font></th>
<th>属性说明</font></th>
</tr>
<tr>
<td> name</td>
<td> String </td>
<td> 姓名 </td>
</tr>
<tr>
<td> age </td>
<td> int </td>
<td> 年龄 </td>
</tr>
<tr>
<td> grade </td>
<td> int </td>
<td> 年纪</td>
</tr>
<tr>
<th> 介绍 </th>
<td colspan="3"> 这是一个Student类。。。 </td>
</tr>
</table>
效果:
| 类名 | StudentClass | ||
|---|---|---|---|
| 属性 | 属性名 | 属性类型 | 属性说明 |
| name | String | 姓名 | |
| age | int | 年龄 | |
| grade | int | 年纪 | |
| 介绍 | 这是一个Student类。。。 | ||
边栏推荐
- Difference between @Resource and @Autowired
- Configure checkstyle in IDEA
- Tips to make your code more and more taller and taller - code specification, you have to know
- 【win10+cuda7.5+cudnn6.0安装caffe④】安装pycaffe
- 切分字符串进行输出显示
- Four functional interfaces
- (一)性能实时监控平台搭建(Grafana+Influxdb+Jmeter)
- arraylist之与linkedlist
- 2021研究生数学建模D题,BP神经网络和卷积神经网络解题代码(基于pytorch)
- 滴滴出行 nlp算法工程师面试经验分享 带offer截图真实
猜你喜欢
随机推荐
Flask框架学习:路由的尾部斜杠
【网站小白】Hibernate插入数据成功,不报错,但是数据库中没有值
Flask框架学习:模板渲染与Get,Post请求
PCIe 接口 引脚定义 一览表
面试宝典二:nlp常见知识点
Flask框架学习:模板继承
第6章 分支语句和逻辑运算符
arraylist之与linkedlist
Flask framework learning: template inheritance
一、Jmeter环境部署
判断一个字符串是否为空,如果为空,对其赋值,如果不为空,获取字符的个数并打印第一个字符
Some common mysql entry exercises
StarUML使用心得
labelme工具,对类别标注,再进行细致的分割
软件测试风险识别
(2) Docker installs Redis in practice (persistent AOF and RDB snapshots)
阿里云无法远程连接数据库MySQL错误码10060解决办法_转载
【动态代理】CGLIB 动态代理的使用及原理
如何设置pip安装的国内源
基于TF-IDF 文本相似性实战 详细教程









