Html Markdown 中的 Rowspan 语法
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16405007/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Rowspan syntax in Markdown
提问by Paulino III
I'm trying to create a table in markdown syntax where a cell's content spans across various rows. How can I achieve this?
我正在尝试用 Markdown 语法创建一个表格,其中单元格的内容跨越不同的行。我怎样才能做到这一点?
The table should look something like:
该表应如下所示:
http://www.w3resource.com/html/attributes/html-rowspan-attribute-with-td-element.png
http://www.w3resource.com/html/attributes/html-rowspan-attribute-with-td-element.png
Thanks in advance!
提前致谢!
采纳答案by benweet
As of today, there is no syntax for tables in standard Markdown language. You can find that within some Markdown extensions like MultiMarkdownor Markdown Extra, but no rowspan support.
截至今天,标准 Markdown 语言中的表格没有语法。您可以在MultiMarkdown或Markdown Extra等一些 Markdown 扩展中找到它,但不支持 rowspan。
You can still include html code in your markdown like in this example.