mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Add example of emphasized lines with line numbers.
This commit is contained in:
parent
ec665d04b6
commit
720329cbe1
|
@ -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
|
||||
========
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user