Does rst2pdf supports line highlighting in source code? Like this:
.. code-block:: c
:include: example.c
:emphasize-lines: 12,15-18
There is default style named pygments-hll that should be used but don’t know how.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Currently, no, there isn’t one. It doesn’t seem trivial to do using reporlab, perhaps setting a fixed background for those lines could work.