Alec Thomas
cc0e4a59ab
Switch to an Iterator interface.
...
This is to solve an issue where writers returned by the Formatter
were often stateful, but this fact was not obvious to the API consumer,
and failed in interesting ways.
2017-09-20 22:19:36 +10:00
Alec Thomas
d80c30ae4e
Sort formatters and styles Names().
2017-09-19 11:31:51 +10:00
Alec Thomas
431e913333
Update documentation. Include "quick" package.
2017-09-18 13:15:07 +10:00
Alec Thomas
d12529ae61
HTML formatter + import all Pygments styles.
2017-07-20 00:01:29 -07:00
Alec Thomas
d852022f8d
Move style and formatter API into chroma package.
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
1f47bd705c
Use pointers to tokens + support regex flags in importer.
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
b2fb8edf77
Initial commit! Working!
2017-06-07 19:47:59 +10:00