I’d like to create a very simple highlighter scheme for the people writing our software documentation. All it has to do is:
- Any line which starts with # should be one colour
- Anytime a specific word + colon appears at the start of a line, that keyword and that colon should have another colour. There’s a list of a couple dozen keywords and they are not case-sensitive
So the result I’m after should look like:
file written on 2014/02/03
file written by David R
Author: David
Autolink: Yes
Title: How to write a new syntax highlighter
Content: Line 1.
Line2.
Line3.
Line4.
SeeAlso: The sublime forum
MSDN
Google
Is there a similar highlighter available that I can easily change, or should I write one from scratch, or…?