[aur-dev] [PATCH] Add PKGBUILD Syntax Highlighting

Manuel Tortosa manutortosa at gmail.com
Wed Sep 29 12:03:49 EDT 2010


On Wednesday 29 September 2010 17:38:34 PyroPeter wrote:
> On 09/29/2010 01:33 PM, Manuel Tortosa wrote:
> > This patch adds pkgbuild syntax highlighting using geshi.
> > 
> > Requisites: GeShi, the latest version the better, works with all versions
> > 
> > http://sourceforge.net/projects/geshi/files/geshi/GeSHi%201.0.8.9/GeSHi-1
> > .0.8.9.tar.gz/download
> > 
> > You don't need the whole extension, just:
> > 
> > geshi.php ->  lib/geshi.php
> > bash.php  ->  lib/geshi/bash.php
> > 
> > Best Regard.
> 
> I found that link to the raw PKGBUILD very useful in some cases,
> so I would appreciate it if it was kept.
> (e.g. "Tarball :: Files :: view PKGBUILD :: download PKGBUILD")
> 
> Regards, PyroPeter

Yeah, that's quite interesting, even more if we force the browser to download 
this seccond link.

I changed the ccr implementation for allow patches in comments, just wrapping 
the comments with <pre> and adding horizontal overflow.
http://imgur.com/kEKJO

still it's not the best of the world but this one keeps 100% the patch in all 
cases.
http://gitorious.org/chakra-
web/ccr/commit/33b128103f0c619db80c22f16f5df3687882f143




More information about the aur-dev mailing list