Support `:emphasize-lines:` in PDF output (closes #1238)

This commit is contained in:
jfbu
2017-12-10 12:16:35 +01:00
parent 90ee039e34
commit 70f8d4ddfc
9 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
Literal Includes with Highlighted Lines
=======================================
.. literalinclude:: target.py
:language: python
:emphasize-lines: 5-6, 13-15, 24-

View File

@@ -27,6 +27,7 @@ header2
\endlastfoot
\fvset{hllines={, ,}}%
\begin{sphinxVerbatimintable}[commandchars=\\\{\}]
\PYG{n}{hello} \PYG{n}{world}
\end{sphinxVerbatimintable}

View File

@@ -10,6 +10,7 @@ header1
header2
\unskip}\relax \\
\hline
\fvset{hllines={, ,}}%
\begin{sphinxVerbatimintable}[commandchars=\\\{\}]
\PYG{n}{hello} \PYG{n}{world}
\end{sphinxVerbatimintable}