如何在 markdown 中使用 col span?

How to use col span in markdown?

阅读 this post 我发现了 col span 在 mark down 中的作用。不过,如果我使用这个:

| One     | Two        | Three   | Four          | 
| ------- | ---------- | ------- | ------------- |
| One     | Two        | Three   | Four          |

| One     | Two        | Three   | Four          | 
| ------- |----------- | ------- | ------------- |
| Span Across ||||

我从 https://markdown-here.com/livedemo.html 得到这个:

如何在markdown中使用col span?

表格是 Markdown 的非标准功能,因为它们不是原始 rules 的一部分。各种 Markdown 实现都实现了自己的表格插件。但是,如果没有权威的规则集,它们并不总是一致的。

由于你在使用Markdown Here,你需要参考他们的documentation, which makes no mention of any column span feature. However, the documentation does mention that the tables feature is copied from GitHub Flavored Markdown (GFM). GFM has a full spec。如果 Markdown Here 严格遵循该规范,那么我们就可以对它的行为方式充满信心。但是,我不知道他们是否这样做(文档中的措辞并不能激发人们对行为严格匹配的信心)。

无论如何,GFM 不包括对列跨度的支持。因此,可以安全地假设 Markdown Here 也没有。