Closes #668: Allow line numbering of `code-block and literalinclude` directives

#to start at an arbitrary line number, with a new ``lineno-start`` option.
This commit is contained in:
Georg Brandl
2014-01-11 08:44:45 +01:00
parent 5394fbb82b
commit 269ef714f3
4 changed files with 34 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ Literalinclude options
.. cssclass:: inc-lines
.. literalinclude:: literal.inc
:lines: 6-7,9
:lineno-start: 6
.. cssclass:: inc-startend
.. literalinclude:: literal.inc