title: RST: how to present the output of a `tree` command?
body: <p>I would like to present the output of a <code>tree</code> command in a Restructured Text document. I am using this code:</p>
  
  <pre><code>.. code-block:: bash
  
     project
     ├── demo.py
     ├── LICENCE.txt
     ├── processes          
     │   ├── area.py
     │   └── bboxinout.py
     ├── pywps.cfg          
     ├── requirements.txt
     ├── server.py          
     ├── setup.py
     ├── static
     ├── templates
     └── tests
  </code></pre>
  
  <p>Which is producing the following output:</p>
  
  <p><a href="https://i.stack.imgur.com/4O7gs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4O7gs.png" alt="enter image description here"></a></p>
  
  <p>I then tried to replace the <code>tree</code> characters with unicode definitions, such as:</p>
  
  <p><code>.. |hbar| unicode:: 01C0 ..</code></p>
  
  <p>But the <code>|hbar|</code> sequence is printed verbatim when used inside a code block.</p>
  
  <p>Is there any other way to force these characters to be printed correctly?</p>