有没有办法在github markdown上有'colspan'?
我正在尝试创建一个表,其中一行占用四列。
| One | Two | Three | Four |
| ------------- |-------------| ---------| ------------- |
| One | Two | Three | Four |
| One | Two | Three | Four |
| ------------- |-------------| ---------| ------------- |
| Span Across ||||
您可以通过粘贴上面的http://markdown-here.com/livedemo.html来查看实时预览
您可以在GitHub上使用HTML表(但在StackOverflow上使用not)
<table>
<tr>
<td>One</td>
<td>Two</td>
</tr>
<tr>
<td colspan="2">Three</td>
</tr>
</table>
变
妥协最低解决方案:
| One | Two | Three | Four | Five | Six
| -
| Span <td colspan=3>triple <td colspan=2>double
所以你可以省略关闭</td>
的速度,或者可以保持一致性。
来自http://markdown-here.com/livedemo.html的结果:
适用于Jupyter Markdown。
截至2019年,第二线的所有管道都是Jupyter Markdown的必修课。
| One | Two | Three | Four | Five | Six
|-|-|-|-|-|-
| Span <td colspan=3>triple <td colspan=2>double
微创:
One | Two | Three | Four | Five | Six
-|||||-
Span <td colspan=3>triple <td colspan=2>double
没有办法这样做。使用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|
看起来像
添加break
可以解决您的问题。您可以在单元格中存储多条记录,因为降价功能不支持太多功能。