当前位置:网站首页>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类。。。 |
边栏推荐
猜你喜欢
Trilium使用总结
2021研究生数学建模D题,BP神经网络和卷积神经网络解题代码(基于pytorch)
redis分布式锁
The most complete installation tutorial of Pytorch (one step)
flaks framework learning: adding variables to the URL
(二)Docker安装Redis实战(持久化AOF和RDB快照)
Django--20 implements Redis support, context, and interaction of context and interface
阿里云无法远程连接数据库MySQL错误码10060解决办法_转载
搭建PX4开发环境
【动态代理】CGLIB 动态代理的使用及原理
随机推荐
【无标题】
Some common mysql entry exercises
Trilium使用总结
第9章 内存模型和名称空间
阿里天池学习赛 新闻文本分类
课堂练习--0708
pytorch中tensor 生成的函数
pytorch矩阵运算问题
(3) Construction of a real-time performance monitoring platform (Grafana+Prometheus+Node_explorer+Jmeter)
QT GrabWindow截取屏幕
更新啦~人生重开模拟器自制
一、Jmeter环境部署
StarUML使用心得
看完这篇博客之后,含着泪学会了TCP/IP
吃瓜教程task04 第5章 神经网络
基于 TF-IDF 文本匹配实战详细教程 数据+代码 可直接运行
pytorch安装笔记——Pytorch在conda+CUDA10.2环境安装task01
输入字符串,替换其中敏感词进行输出
flask框架学习:debug与配置项
(二)性能实时监控平台搭建(Grafana+Prometheus+Jmeter)