python - Sphinx: Linking a Lexer with a style sheet using pygments -
good evening,
lets using built java lexer in pygments highlight syntax of code block in sphinx document. how change style sheet java lexer associated with. (i.e. want change color of words being highlighted).
thanks in advance!
just point pygments_style setting custom pygments style class. see how to write custom pygments style class.
should work in theory - haven't tried myself though.
hope helps.
Comments
Post a Comment