[syslinux] Syntax highlighted configuration files

Lindgren Daniel daniel.lindgren at tullverket.se
Wed Sep 1 23:55:55 PDT 2010


> Since I'm typically trying to check if/where the syntax in a 
> file is wrong, syntax highlighting was a fairly obvious 
> choice. Now I have progressed to the point where I add a 5 
> line commented html header to each file and a closing 
> commented line. This header adds syntax highlighting using 
> SyntaxHighlighter
> (http://alexgorbatchev.com/SyntaxHighlighter/) and a brush I 
> made to handle the Syslinux configuration files 
> (http://pileus.TinFlower.com/webroot/syntaxhighlighter/scripts
> /shBrushSy
> slinux.js). I wanted to share this file and my setup in case 
> anyone on the list has a similar need and also wanted to use 
> syntax highlighting. 

Excellent, we're using SyntaxHighlighter in our wiki, thanks for sharing
your work! Might I suggest that a "permanent" link to the brush file (or
just the JS code) is added to the SYSLINUX wiki?

Cheers,
Daniel





More information about the Syslinux mailing list