有没有办法在降价表中使用语义换行?

时间:2020-12-26 01:28:28

标签: html-table markdown github-flavored-markdown

我想在编写表格降价时使用 semantic linefeeds,以便每个单元格都可以出现在自己的行上。

例如,如果我有这张表:

|         | Column One | Column Two | Column Three |
|---------|------------|------------|--------------|
| Row One | Cell One   | Cell Two   | Cell Three   |
| Row Two | Cell Four  | Cell Five  | Cell Six     |

假设每个单元格的内容可能是一个完整的句子,我可能想这样写:

|         | Column One | Column Two | Column Three |
|---------|------------|------------|--------------|
| Row One
  | Cell One
  | Cell Two
  | Cell Three
| Row Two
  | Cell Four
  | Cell Five
  | Cell Six

在 GitHub Flavored Markdown 中,除了编写原始 HTML 标签之外,还有什么方法可以将单行的单元格分成多行吗?

1 个答案:

答案 0 :(得分:0)

想法不错,但遗憾的是 GitHub's support for tables in Markdown 不支持此功能。

相关问题