【发布时间】:2021-04-03 18:34:00
【问题描述】:
我想在编写表格markdown时使用semanticlinefeeds,这样每个单元格都可以出现在自己的行上。
例如,如果我有这张桌子:
| | 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 标签之外,还有什么方法可以将单行的单元格分成多行?
【问题讨论】:
-
经过进一步思考,我相信我正在寻找的是 bash 风格的 line continuation,这个问题也在这里有效地重复:stackoverflow.com/questions/15955160/…
标签: html-table markdown github-flavored-markdown