Hi Federico!

> ...
> Something like this:
>
> Install the dependencies::
>   :user: root
>   aptitude install bla bla bla
>
> Run the program::
>   :user: user
>   python program.py
>
>
> What do you recommend to do?

I have no suggestion for that.

> Also, how can I style the shell commands differently from other literal
> blocks?

You can use the

.. code-block:: bash
   :emphasize-lines: 2

  $ ls -al
  # kill 5678

But Pygments is needed for syntax highlighting.
Perhaps, the :emphasize-lines: can be used to point out those lines
which must be executed as root?
Well, that's obviously only a work-around for what you want.

Many regards,
Helix

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to