Hi

On Tuesday, 11 June 2019 20:13:03 UTC+2, Anton Akhmerov wrote:
>
> Hi everyone,
>
> I have a basic question to which I unfortunately cannot find an answer 
> neither in the documentation nor anywhere else on the web.
>
> I would like to display some stderr in the built documentation, and for 
> that I would like to highlight it similarly to jupyter:
>
> [image: Screenshot from 2019-06-11 20-10-11.png]
> What is the semanically correct way to achieve this result? Which nodes do 
> I need to insert? 
>
Have you tried adding your code in a  .. code-block:: <language> ? 
Something like

*****
.. code-block:: bash
   :emphasize-lines: 3

   print('hi', file=sys.stderr)

   hi
*****

HTH,
Stefano

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/0983dc16-76a9-4b6f-a38c-68f170dfe6a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to