This is a GtkSourceView language file for the DokuWiki syntax. It provides syntax coloration for the gedit editor.
Place a copy of the dokuwiki.lang
file into either one of these directories:
~/.local/share/gtksourceview-3.0/language-specs/
/usr/local/share/gtksourceview-3.0/language-specs/
/usr/share/gtksourceview-3.0/language-specs/
Start or restart gedit and open a DokuWiki document. Files ending with the .doku
and .dokuwiki
extensions will be immediately highlighted.
For a language file compatible with gtksourceview-2.0, you may want to consider the following project instead:
This language file contained in this project has been assembled for personal use and has not been widely tested.
It supports coloration for the following DokuWiki plugins:
- Definition List
- Comment Syntax (C-style comments and one-line comments)
- Changemarks
- LaTeX (mathematical expressions)
- Graphviz (dot syntax)
This language definition file is to be used with GtkSourceView
GtkSourceView is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
GtkSourceView is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
This language definition file is licensed under the GNU Lesser General Public License 3.0.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
A copy is provided with this package (see LICENSE) or can be obtained at: