3ed4a7eab8
fix: renamed BaseLexer to Lexer and Lexer to RegexLexer to make API nicer
2024-09-04 11:37:36 -03:00
58fd42d936
Rebase to main
2024-08-24 19:59:05 -03:00
6264bfc754
Beginning deserialization of data
2024-08-24 19:55:56 -03:00
Ramiro Algozino
176b8e9bc9
docs: improve readme and help message
...
- Add example for printing output to the terminal
- Fix example for usage as CLI tool (missing -f flag)
- Add instructions in the help message for combining lexers
2024-08-23 18:30:14 +02:00
f883065092
Fix weird bug
2024-08-22 15:00:17 -03:00
bb952a44b8
Use IO for output
2024-08-16 17:25:33 -03:00
bf257a5b82
cleanup
2024-08-15 17:05:03 -03:00
2e87762f1b
API changes to make it nicer
...
These are incompatible, tho.
* Theme is now a property of the formatter instead
of passing it arounf
* get_style_defs is now style_defs
2024-08-13 10:57:02 -03:00
ec8c53c823
Added --line-numbers for the terminal formatter
2024-08-11 13:21:47 -03:00
e3a1ce37b4
Support guessing lexer by filename
2024-08-11 13:04:35 -03:00
e295256573
Implemented decent version of the CLI
2024-08-11 11:49:42 -03:00
f2e638ce3b
Require main branch sixteen for now, line-highlight style improvements
2024-08-10 16:50:55 -03:00
84ee7e6934
JSON formatter
2024-08-09 16:58:15 -03:00
89d212b71c
Start actual CLI
2024-08-09 16:53:24 -03:00
a92d2501f7
HTML formatter option: wrap_long_lines
2024-08-09 16:20:30 -03:00
f98f44365f
HTML formatter option: line_numbers / highlight_lines
2024-08-09 14:00:42 -03:00
d0c2b1764a
HTML formatter option: line_number_start / line_number_id_prefix
2024-08-09 13:28:05 -03:00
4ced996f90
HTML formatter option: class_prefix
2024-08-09 12:21:02 -03:00
fd5af6ba3b
Starting to add options to HTML formatter: standalone
2024-08-09 11:57:23 -03:00
d293ec8d76
Set more flags in regex
2024-08-08 08:31:01 -03:00
aa1044ed22
ANSI formatter
2024-08-07 17:00:50 -03:00
0c86e91b0b
Use abbreviated token names in css
2024-08-06 21:28:33 -03:00
420b68993c
Made base16 work
2024-08-06 18:27:58 -03:00
94bc221545
Added test binary, code to read base16 themes
2024-08-06 18:03:05 -03:00