-
Notifications
You must be signed in to change notification settings - Fork 96
How to edit this wiki
Sébastien Doeraene edited this page Mar 15, 2012
·
1 revision
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.
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:
- Download the raw version of markdown.xml
- Save it in
~/.kde/share/apps/katepart/syntax/markdown.xml
- 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!