Format tables in reStructuredText

I have a table problem when using Sphinx with the bootstrap theme ( build html ).

  • Is there a way to format a table so that it does not stretch across the entire width of the screen? I would like the columns to have the width of the text and the overall table centered.

  • How about column alignment? Can I center the alignment of some columns?

Here is a screenshot of what the table looks like right now: http://imgur.com/Q4Idzyd

+1
source share

Source: https://habr.com/ru/post/979856/


All Articles