TextMate-style syntax highlighting in PHP
data | ||
lib | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
LICENSE | ||
package.json | ||
README.md | ||
run | ||
yarn.lock |
Lit
Lit is a multilanguage syntax highlighter written in PHP. It takes code as input and returns HTML with classes based upon tokens in the code. It is loosely based upon Atom's Highlights which is used in the Atom text editor to syntax highlight code. Atom's Highlights is in turn based upon TextMate's syntax highlighting using its concepts of scope selectors and common keywords for components of programming languages.