TextMate-style syntax highlighting in PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dustin Wilson 0dbbc67f1a More minor tweaks/fixes 3 years ago
data Reorganized data folder 3 years ago
lib More minor tweaks/fixes 3 years ago
.gitignore More minor tweaks/fixes 3 years ago
LICENSE Initial commit 3 years ago
README.md Trying to figure out structure 3 years ago
composer.json Many changes 3 years ago
composer.lock Many changes 3 years ago
package.json Beginning work on language grammars 3 years ago
run Changed Pattern to Rule to be consistent with other implementations 3 years ago
yarn.lock Beginning work on language grammars 3 years ago

README.md

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.