Skip to content

How to edit this wiki

Sébastien Doeraene edited this page Mar 15, 2012 · 1 revision

How to edit this wiki

As any other Gollum-based wiki, you may edit this wiki either online, with the Web interface, or offline, using directly the git interface to it.

The git interface has the strong advantage that you can use your favorite text editor to edit the pages, instead of the basic HTML text area of the online editor.

Using kate

If you happen to use kate, the standard text editor of KDE (or any kate-based editor, such as KDevelop, for that matter), you can add syntax highlighting for Markdown easily:

  1. Download the raw version of markdown.xml
  2. Save it in ~/.kde/share/apps/katepart/syntax/markdown.xml
  3. Restart kate.

Now you have syntax highlighting for .md files. Much more exciting is the following. In such files, code blocks written that way:

```c++
void main(int argc, char** argv) {
  cout << "Hello world!" << endl;
}
```

will be highlighted according to C++ rules!