当前位置:网站首页>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类。。。 |
边栏推荐
猜你喜欢
随机推荐
吃瓜教程task01 第2章 模型评估与选择
CentOS7静默安装Oracle11g_转载
redis连接idea
开炮,开炮
手推卷积神经网络参数(卷积核)求导
Blender 初教程
imx6 yocto编译备忘
flask框架学习:debug与配置项
Keras与tensorflow 使用基础
Pytorch最全安装教程(一步到位)
(一)Docker安装Redis实战(一主二从三哨兵)
QT circle函数(图片标注)
分库分表之sharding-proxy
PyTorch显存机制分析
Django--20 implements Redis support, context, and interaction of context and interface
The most complete installation tutorial of Pytorch (one step)
2021研究生数学建模D题,BP神经网络和卷积神经网络解题代码(基于pytorch)
Tips to make your code more and more taller and taller - code specification, you have to know
第9章 内存模型和名称空间
第4章 复合类型-2(指针)