Syntax Support¶
GtkSourceView extends the GtkTextView widget to provide syntax highlighting for applications using GTK+, this includes the elementary OS Code, gedit and GNOME Builder editors. Syntax highlighting for each language is through a
.lang
file. GtkSourceView has both a Vala lang file and a Genie lang fileAlthough TextMate is a macOS editor, its language bundles can be imported into many other editors, for example: Visual Studio Code, Sublime Text, the JetBrains IntelliJ collection of editors, Atom, Ace web editor and Linuguist, used for GitHub syntax highlighting. A Vala TextMate bundle does already exist. To understand more about how to write a language bundle read TextMate Language Grammars, TextMate Scope Selectors, Writing a TextMate Grammar: Some Lessons Learned and Notes on how to create a Language Grammar
highlight.js - Client side syntax highlighter (JS+HTML)
MoinMoin Wiki parser.
Pygments has a lexer since version 1.1.