title: rST: Inserting a code-block in a table
body: <p>I need to create a table in rST using the same format as used by the DVB specifications.</p>
  
  <p>The syntax column is similar to a code block in that it needs to have proper indentation, but it also needs to align with the other columns.</p>
  
  <p>I tried various ways... the issue seems that leading whitespace does strange things to the rST.</p>
  
  <pre><code>+-----------------------------+-----------------+------------+
  | Syntax                      | Number of bits  | Identifier |
  +=============================+=================+============+
  |``private_data_byte(){``     |                 |            |
  +-----------------------------+-----------------+------------+
  |``  magic_bit``              | 8               | uimsbf     |
  +-----------------------------+-----------------+------------+
  |``  version``                | 8               | uimsbf     |
  +-----------------------------+-----------------+------------+
  |``  if (a == 0x0F){``        |                 |            |
  +-----------------------------+-----------------+------------+
  |``    field_a``              | 16              | uimsbf     |
  +-----------------------------+-----------------+------------+
  |``  }``                      |                 |            |
  +-----------------------------+-----------------+------------+
  |``}``                        |                 |            |
  +-----------------------------+-----------------+------------+
  </code></pre>