1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-21 19:06:18 +02:00

15 Commits

Author SHA1 Message Date
Alec Thomas
3175fa52d7 Support go modules + VB.Net lexer.
Fixes #201.
2018-12-03 20:38:33 -10:00
Alec Thomas
3020e2ea8c Fix bug with nested newlines.
Fixes #124.

Also reinstitute lexer tests that disappeared during package split.
2018-03-03 10:16:21 +11:00
Alec Thomas
573c1d157d Ensure a newline exists at the end of files.
Fixes #42.
2017-09-29 21:59:52 +10:00
Alec Thomas
bdc1124369 Switch to Pygments-style CSS class names.
Add GitHub theme + CSS to style importer.
2017-09-25 21:46:25 +10:00
Alec Thomas
551f7cee9a Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
Alec Thomas
e2d6abaa64 Document and add iterator panic recovery. 2017-09-20 23:06:23 +10:00
Alec Thomas
a72960340e Add test to pre-compile all regexes. 2017-09-19 14:15:33 +10:00
Alec Thomas
a10fd0a23d Switch to github.com/dlclark/regexp2.
This makes translating Pygments lexers much much simpler (and possible).
2017-09-18 11:16:44 +10:00
Alec Thomas
d12529ae61 HTML formatter + import all Pygments styles. 2017-07-20 00:01:29 -07:00
Alec Thomas
7a7b85b4b3 Add protobuf and thrift. 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
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