Steve, It should work. We apply syntax highlighting based only on the file extension, but I'm sure that pygments thinks that '.pl' is a perl file. The one thing that you might be hitting is that we disable syntax highlighting for very large files, because it can take a very long time otherwise.
-David On Thu, Aug 28, 2014 at 8:58 AM, Steve <[email protected]> wrote: > When we post code with .pm extensions, we get nice perl syntax > highlighting, but we don't get syntax highlighting for files ending in .pl. > I've run the pygementize script from the command line and it recognizes > .pl files as perl out-of-the-box and highlights them, but this in not > working for some reason in RB. Is this a bug, or a configuration problem on > our end? Any tips on how to troubleshoot this? > > Here's our version information: > > $ rb-site --version > rb-site 1.7.14 > > $ pygmentize -V > Pygments version 1.5, (c) 2006-2011 by Georg Brandl. > > > Thanks > > -- Steve > > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
