2017-12-08 10 views
0

ここにreStrutureTextのリストテーブルのスニペットがあります。reStrutureTextのリストテーブルのタイトルとヘッダーの間に2つの空白行を挿入するにはどうすればよいですか?

.. 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!と、ヘッダ行Treat Quantity Descriptionの間に2行の空白行を挿入する方法

enter image description here

オンラインツールhttp://rst.ninjs.org/\nをテストするには、\nは機能しません。その後、

enter image description here enter image description here

+0

私は、Pythonを使用して表を作ったことがないが、 '\ N 'は、何かをするのでしょうか? –

答えて

1

あなたが望むすべてのビジュアルスペースとスタイルの変更ではなく、実際の改行場合は、レンダリングされたHTMLのスタイルシートを変更します。

caption { 
    margin-bottom: 2em; 
} 

caption style

関連する問題