Tag-Archive for » kate «

2009-05-21 13:14:10 | Author:

I’m reading a book, and it’s, well, a plain text file. The lack of structure bothers me.
I’m using Kate, and Kate offers a simple way of adding syntax highlighting.
So I wrote a very small highlighting definition for Kate, which allows me to view quotes in a slightly different color (provided that actual quotation marks are used, not apostrophes). Yes, it does nested quotes.
I may improve it sometime, but for now I’m happy.

Usage:

copy the file to ~/.kde/share/apps/katepart/syntax/
In Kate, select Extras->Highlighting->Other->eBook txt