如何在reStrutureText的list-table中的标题和header之间插入两个空行?
How to insert two blank lines between title and header in list-table of reStrutureText?
这里是 list-table 在 reStrutureText 中的片段。
.. list-table:: Frozen Delights!
:widths: 15 10 30
:header-rows: 1
* - Treat
- Quantity
- Description
* - Albatross
- 2.99
- On a stick!
* - Crunchy Frog
- 1.49
- If we took the bones out, it wouldn't be
crunchy, now would it?
* - Gannet Ripple
- 1.99
- On a stick!
显示效果。
如何在标题 Frozen Delights!
和 header 行 Treat Quantity Description
之间插入两个空行?
要在在线工具 http://rst.ninjs.org/ 中测试 \n
,\n
不起作用。
如果您想要的只是带有视觉 space 的样式修改,而不是实际的换行符,则修改呈现的 HTML.
的样式 sheet
caption {
margin-bottom: 2em;
}
这里是 list-table 在 reStrutureText 中的片段。
.. list-table:: Frozen Delights!
:widths: 15 10 30
:header-rows: 1
* - Treat
- Quantity
- Description
* - Albatross
- 2.99
- On a stick!
* - Crunchy Frog
- 1.49
- If we took the bones out, it wouldn't be
crunchy, now would it?
* - Gannet Ripple
- 1.99
- On a stick!
显示效果。
如何在标题 Frozen Delights!
和 header 行 Treat Quantity Description
之间插入两个空行?
要在在线工具 http://rst.ninjs.org/ 中测试 \n
,\n
不起作用。
如果您想要的只是带有视觉 space 的样式修改,而不是实际的换行符,则修改呈现的 HTML.
的样式 sheetcaption {
margin-bottom: 2em;
}