1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-01-14 02:23:16 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
Alec Thomas
7a7b85b4b3 Add protobuf and thrift. 2017-06-07 19:47:59 +10:00
Alec Thomas
7ae55eb265 Wire up content sniffing. 2017-06-07 19:47:59 +10:00
Alec Thomas
7b6a07b9bb Revert to using CIE76 for style colour matching.
Some testing showed RGB distance was *really* bad.
2017-06-07 19:47:59 +10:00
Alec Thomas
d852022f8d Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
Alec Thomas
ef4a53333b Just use a basic RGB distance.
Not perfect, but probably sufficient.
2017-06-07 19:47:59 +10:00
Alec Thomas
ca512c335b Make --list more detailed. 2017-06-07 19:47:59 +10:00
Alec Thomas
5f7faa38d5 Add "tokens" formatter. 2017-06-07 19:47:59 +10:00
Alec Thomas
5749aebe42 Generalise and support 8, 256 and 16m colour terminals. 2017-06-07 19:47:59 +10:00
Alec Thomas
dba8ec47d2 Fixes: css, html, php. 2017-06-07 19:47:59 +10:00
Alec Thomas
6aea285ca4 Imported: css, html, java, php. 2017-06-07 19:47:59 +10:00
Alec Thomas
8ec7ab9986 Support #pop:<n>. 2017-06-07 19:47:59 +10:00
Alec Thomas
1f47bd705c Use pointers to tokens + support regex flags in importer. 2017-06-07 19:47:59 +10:00
Alec Thomas
c64e5829b5 Add JavaScript. 2017-06-07 19:47:59 +10:00
Alec Thomas
6e576b1597 Add pygments2chroma.py script. 2017-06-07 19:47:59 +10:00
Alec Thomas
a8e8490739 Add C++ lexer, generic SQL lexer. 2017-06-07 19:47:59 +10:00
Alec Thomas
5dedc6e45b Add a bunch of automatically translated lexers. 2017-06-07 19:47:59 +10:00
Alec Thomas
b30de35ff1 Use a callback to emit tokens.
This is a) faster and b) supports streaming output.
2017-06-07 19:47:59 +10:00
Alec Thomas
6dd81b044b Add Markdown processor. A bunch of performance improvements. 2017-06-07 19:47:59 +10:00
Alec Thomas
b2fb8edf77 Initial commit! Working! 2017-06-07 19:47:59 +10:00
Alec Thomas
3de978543f Initial commit 2017-06-07 19:47:08 +10:00