markdown表格制作

表头1 表头2 表头3
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell
表头1 表头2 表头3
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell
名字 描述
Help Display the help window.
Close Closes a window

表格中也可以使用普通文本的删除线,斜体等效果

名字 描述
Help Display the help window.
Close Closes a window

表格可以指定对齐方式

左对齐 居中 右对齐
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1

表格中单元格合并

行合并

表头1 表头2 表头3
3 >
--- --- ---
Content Cell Content Cel Content Cell

markdown兼容html实现单元格操作

<table>
<tr>
<td>列一</td>
<td>列一</td>
</tr>
<tr>
<td colspan="2">合并行</td>
</tr>
<tr>
<td colspan="2">合并行</td>
</tr>
</table>

合并列

<table>
<tr>
<td>列一</td>
<td>列一</td>
</tr>
<tr>
<td rowspan="2"合并列</td>
<td>行</td>
</tr>
<tr>
<td>行</td>
</tr>
</table>

表格嵌套

<table>
<tr>
<td>列一</td>
<td>列一</td>
</tr>
<tr>
<td rowspan="2">
<table>
<tr>
<td>列一</td>
<td>列一</td>
</tr>
<tr>
<td rowspan="2"合并列</td>
<td>行</td>
</tr>
<tr>
<td>行</td>
</tr>
</table>
</td>
<td>行</td>
</tr>
<tr>
<td>行</td>
</tr>
</table>


表格嵌套

表头1 表头2 表头3
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • (注1:如果有问题欢迎留言探讨,一起学习!转载请注明出处,喜欢可以点个赞哦!)(注2:更多内容请查看我的目录。) ...
    love丁酥酥阅读 9,845评论 2 5
  • 虽说Excel制表功能是超级强大,但是当我们在使用word制作文档时难免会用一些表格功能。其实一些不复杂的表格操作...
    Jeck_merlin阅读 8,899评论 1 28
  • *一、Markdown是什么 * Markdown是一种轻量级的标记语言,使用的标记语法非常简单,它可以使用纯文本...
    乘风破浪55阅读 4,562评论 0 2
  • Bootstrap是什么? 一套易用、优雅、灵活、可扩展的前端工具集--BootStrap。GitHub上介绍 的...
    凛0_0阅读 13,735评论 3 184
  • 笔者:花间溪 五月的呼伦贝尔,花开了。我病了一个多月,刚好些。姐姐说,我们去散散心吧。就这样没计划没目的,开始了,...
    花间溪阅读 3,089评论 1 8