title: How do I insert highlight or code-block into Sphinx-style docstrings?
body: <p>For example:</p>
  
  <pre><code>def foo():
      '''
      .. highlight:: python
      import sys
      '''
  </code></pre>
  
  <p>Doesn't produce desired output (it prints the word "highlight" verbatim and doesn't format the following code in any special way).  Same happens for <code>code-block</code>.</p>
  
  <p>I tried different indentation etc.  No matter what, generator succeeds with roughly the same, but not the desired output.</p>