From 720329cbe1c7f835eb13a6ff05f0005e5e0885f9 Mon Sep 17 00:00:00 2001 From: chebee7i Date: Mon, 11 Nov 2013 18:33:47 -0600 Subject: [PATCH] Add example of emphasized lines with line numbers. --- demo_docs/source/index.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/demo_docs/source/index.rst b/demo_docs/source/index.rst index 89b97c71..b48aa922 100644 --- a/demo_docs/source/index.rst +++ b/demo_docs/source/index.rst @@ -178,6 +178,20 @@ documentation for it. | Thing3 | +---------+ +Emphasized lines with line numbers +================================== + +.. code-block:: python + :linenos: + :emphasize-lines: 3,5 + + def some_function(): + interesting = False + print 'This line is highlighted.' + print 'This one is not...' + print '...but this one is.' + + Citation ========