use*_*986 86 github-flavored-markdown
有没有办法在github markdown上有' colspan ' ?
我正在尝试创建一个表,其中一行占用四列.
| One | Two | Three | Four |
| ------------- |-------------| ---------| ------------- |
| One | Two | Three | Four |
| One | Two | Three | Four |
| ------------- |-------------| ---------| ------------- |
| Span Across ||||
Run Code Online (Sandbox Code Playgroud)
您可以通过粘贴上面的http://markdown-here.com/livedemo.html来查看实时预览
fre*_*nte 68
您可以在GitHub上使用HTML表(但不能在StackOverflow上使用)
<table>
<tr>
<td>One</td>
<td>Two</td>
</tr>
<tr>
<td colspan="2">Three</td>
</tr>
</table>
Run Code Online (Sandbox Code Playgroud)
变

she*_*dim 38
妥协最低解决方案:
| One | Two | Three | Four | Five | Six
| -
| Span <td colspan=3>triple <td colspan=2>double
Run Code Online (Sandbox Code Playgroud)
所以你可以省略关闭</td>速度,或者可以保持一致性.
来自http://markdown-here.com/livedemo.html的结果:

适用于Jupyter Markdown.
lan*_*ung 18
没有办法这样做.使用HTML表格,或将相同的文本放在几个单元格上.
像这样:
| Can Reorder | 2nd operation |2nd operation |2nd operation |
| :---: | --- |
|1st operation|Normal Load <br/>Normal Store| Volatile Load <br/>MonitorEnter|Volatile Store<br/> MonitorExit|
|Normal Load <br/> Normal Store| | | No|
|Volatile Load <br/> MonitorEnter| No|No|No|
|Volatile store <br/> MonitorExit| | No|No|
Run Code Online (Sandbox Code Playgroud)
看起来像
Mar*_*ark 15
我最近需要做同样的事情,并且很高兴colspan能够连续使用管道||
在v4.5(最新的macports)和v5.4(最新的自制软件)上测试过.不确定为什么它不适用于您提供的实时预览网站.
我开始的一个简单的测试是:
| Header ||
|--------------|
| 0 | 1 |
Run Code Online (Sandbox Code Playgroud)
使用命令:
multimarkdown -t html test.md > test.html
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
80120 次 |
| 最近记录: |