rst2pdf define style for Sphinx :ref: Role

19 views
Skip to first unread message

Scott S

unread,
Feb 27, 2020, 1:16:57 PM2/27/20
to rst2pdf-discuss
In the rst2pdf stylesheet what is the name you have to use to be able to apply styling to the Sphinx :ref: role (https://www.sphinx-doc.org/en/1.7/markup/inline.html#role-ref)?

i.e. in my stylesheet I would define the following to make the text have the color blue, what do I have to put in place of <WhatNameHere> to make rst2pdf apply this to Sphinx's :ref: roles?

  styles:
    <WhatNameHere>:
      textColor: blue

Thanks, Scott
Reply all
Reply to author
Forward
0 new messages