Hi,

Is there a way in Sphinx to make a reference to a specific line in a
literalinclude block ?

For exemple, if I include a file like this :

.. _sample:

.. literalinclude:: hello.c
   :language: c
   :linenos:

Can I make a reference to it like :
:ref:`sample@12`

Thanks,
Thomas

-- 
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