可以在Markdown中创建一个没有标题的表吗?
HTML将如下所示:
<table>
<tr>
<td>Key 1</td>
<td>Value 1</td>
</tr>
<tr>
<td>Key 2</td>
<td>Value 2</td>
</tr>
</table>
发布于 2018-11-06 06:51:48
通用解决方案
不幸的是,许多建议并不适用于所有的Markdown查看器/编辑器,例如,流行的Markdown Viewer Chrome扩展,但它们确实适用于iA Writer。
似乎在这两个流行程序中都有效的(并且可能适用于您的特定应用程序)是使用HTML comment blocks ('<!-- -->')
| <!-- --> | <!-- --> |
|-------------|-------------|
| Foo | Bar |
像前面提到的一些建议一样,这确实会在Markdown查看器/编辑器中添加一个空的标题行。在iA写入器中,它在美学上足够小,不会对我造成太大的阻碍。
发布于 2016-03-15 23:19:59
我在Bitbucket的Markdown中使用了一个空链接:
[]() |
------|------
Row 1 | row 2
发布于 2016-09-05 08:49:20
下面的代码在GitHub中很适合我。第一行不再是粗体,因为它不是标题:
<table align="center">
<tr>
<td align="center"><img src="docs/img1.png?raw=true" alt="some text"></td>
<td align="center">Some other text</td>
<td align="center">More text</td>
</tr>
<tr>
<td align="center"><img src="docs/img2.png?raw=true" alt="some text"></td>
<td align="center">Some other text 2</td>
<td align="center">More text 2</td>
</tr>
</table>
检查一个没有标题here的示例HTML表。
https://stackoverflow.com/questions/17536216
复制相似问题