当前位置:网站首页>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类。。。 | ||
边栏推荐
猜你喜欢

【win10+cuda7.5+cudnn6.0安装caffe②】安装Visual Studio 2013和caffe

shell 脚本编程---入门

Django--20 implements Redis support, context, and interaction of context and interface

【动态代理】CGLIB 动态代理的使用及原理

Summary: Cross Validation

PCIe 接口 引脚定义 一览表

vftpd本地可以连接,远程连接超时的解决

【win10+cuda7.5+cudnn6.0安装caffe③】编译及测试caffe

【网站小白】mySQL数据库异常断开

(二)性能实时监控平台搭建(Grafana+Prometheus+Jmeter)
随机推荐
利用rand函数随机生成uuid
Who am I ?
2021研究生数学建模D题,BP神经网络和卷积神经网络解题代码(基于pytorch)
原生态mongo连接查询代码
Mysql introductory exercise
task04 Pytorch进阶训练技巧
Four functional interfaces
吃瓜教程task02 第3章 线性模型
redis集群模式--解决redis单点故障
PCIe 接口 引脚定义 一览表
字符与字符串
一张图带你解读--如何从零开始学习接口自动化
pytorch矩阵运算问题
QtDataVisualization 数据3D可视化
pytorch基础之 pytorch 模型开发模板
Some common mysql entry exercises
pytorch和tensorflow函数对应表
第5章 循环和关系表达式
selenuim使用cookie登录京东
arraylist之与linkedlist