Modify ↓
Opened 11 years ago
Closed 11 years ago
#11235 closed enhancement (worksforme)
css: custom pygment css
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rendering | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It was quite hard to override the css for pygment.
It should be easy to override the css for the code as formated by pygment. There should be a well defined file to override the css.
I look at code in xcode and then on trac I'd really like to have that the same colors and fonts.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Duplicate of #11234 (if you want to override only a small subset of the CSS).
The Pygments CSS is actually generated by Pygments itself, not by Trac. So if you want to control more than just a few aspects, the correct way to do that is to create your own custom Pygments style.