We use Pygments for all syntax highlighting, which does support the highlighting, but we currently choose a lexer based on filename and not the content. The reason is that for a long time, some file types (large XML-based documents in particular) were so slow to guess that Pygments would sometimes stall Apache threads. I don't believe this is a problem anymore, so we probably will want to move to content-based lexer selection, but probably not until Review Board 4.0, due to the significant behavior change (which I'm sure will cause other regressions).
What file extension are you using for these files? Just .html?
| Status:
|
|
| Milestones:
|
| + |
Release-3.0.x |
| + |
Release-4.0 |
|
| Tags:
|
|
|