Syntax highlighting for editing MoinMoin contents with Gedit/Gobby

You can have syntax highlighting when you edit a wiki page in gedit, gobby or any programs that use gtksourceview-2.0 or higher, you can download the file moinmoin.lang and in root put it in:

/usr/share/gtksourceview-2.0/language-specs/

resp.

/usr/share/gtksourceview-3.0/language-specs/

Then you can activate-it in the syntax menu.

If you do not have sufficient privileges for writing to the folder above, you may also install the file for your profile only, in:

$HOME/.local/share/gtksourceview-2.0/language-specs/

resp.

$HOME/.local/share/gtksourceview-3.0/language-specs/

(Note: This will only work in the version 2.0 or higher of gtksourceview)

MoinMoin: GeditHighlighting (last edited 2012-12-27 09:35:26 by wks-42-21)