mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Merge pull request #55 from chebee7i/emphlinenos
Emphasized Lines and Line Numbers
This commit is contained in:
commit
4781d7f23a
|
@ -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
|
||||
========
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user