Re: [viewvc-users] behavior for files pygments can't parse
Will Yardley <[email protected]> Tue, 8 Apr 2014 19:37:54 -0700
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <20140409023754.GA4083__49215.3151346885$1397011088$gmane$org@aura.veggiechinese.net> |
On Tue, Apr 08, 2014 at 10:31:17PM -0400, C. Michael Pilato wrote:
> On 04/08/2014 07:22 PM, Will Yardley wrote:
> > I figured out how to set the correct MIME type for files with no
> > extensions. However, for filetypes that Pygments doesn't know about at
> > all, unrecognized text is surrounded by a red box. Is there a way to
> > make this behavior a little easier on the eye?
> ViewVC asks Pygments to employ CSS for its output, and you can modify
> the CSS style defs in the docroot/styles.css file inside your ViewVC
> templates directory. Looking at the default styles, I'm guessing your
> text is getting marked up as an error:
>
> .pygments-err { border: 1px solid #FF0000 } /* Error */
Thanks - that's helpful - I'll take a look at that.
w
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3076130
To unsubscribe from this discussion, e-mail: [[email protected]].