Trevor Joynson
d6eb27d4b5
Allow .mkd and .markdown ( #73 )
...
Yeah I know, but they are out there ;)
2017-10-23 10:49:04 +11:00
Kevin Burke
8533b6348b
quick: add an example ( #70 )
...
Fixes #69 .
2017-10-23 10:45:44 +11:00
Trevor Joynson
972d70075c
Allow for /usr/bin/env shebangs ( #71 )
2017-10-23 10:45:29 +11:00
hexasoftware
03b0c0d6bb
Changed terminal16m to semicolons ( #64 )
...
Most terminals seems to use semicolons in true colors:
https://gist.github.com/XVilka/8346728
2017-10-17 15:04:12 +11:00
Bjørn Erik Pedersen
02c4adc066
Add a chroma class wrapper when in "table mode" ( #63 )
...
This commits adds a div wrapper when linenumbers are formatted in table, to get the correct CSS matchers.
This commit also fixes some CSS table issues when tables are put into a larger context with other stylesheets:
* No borders.
* Overflow to fit in potentially narrower containers.
Fixes #62
2017-10-14 20:02:40 +11:00
Depado
4a55aefee6
Adding HasClasses method for HTML formatter ( #61 )
...
* Adding HasClasses method for HTML formatter
* Removing helper function and simply export the field
2017-10-14 08:41:40 +11:00
Bjørn Erik Pedersen
6604d06684
Regenerate TokenType stringer ( #60 )
2017-10-13 18:56:47 +11:00
Alec Thomas
6326cbaeff
Add test for EnsureNL.
2017-10-13 10:58:37 +11:00
Bjørn Erik Pedersen
27733ac753
Add table styled line numbers ( #54 )
...
Fixes #52
2017-10-13 10:49:20 +11:00
Alec Thomas
92586fdff2
Switch shell #! to preproc.
2017-10-10 13:28:24 +11:00
Alec Thomas
fd7f3ef183
Merge pull request #56 from kaushalmodi/add-nl-for-verilog-lexers
...
Add newline at eof for (system)verilog lexers
2017-10-10 13:24:54 +11:00
Alec Thomas
26632c8906
Merge pull request #57 from kenshaw/add-ordering-to-styles-formatters
...
Fix order output of chroma cli tool
2017-10-10 13:24:37 +11:00
Kenneth Shaw
edf15b0aff
Fix order output of chroma cli tool
...
Changes output for the chroma cli tool for styles and formatters so that
the output on --list is always in the same order.
2017-10-10 03:39:58 +07:00
Kaushal Modi
8f90f6d80a
Add newline at eof for (system)verilog lexers
...
Fixes https://github.com/alecthomas/chroma/issues/55
2017-10-09 11:11:35 -04:00
Alec Thomas
7f66cd3f6e
Merge pull request #53 from alecnunn/master
...
Added basic Morrowind Scripting parsing
2017-10-08 20:56:00 +11:00
Alec Nunn
7b1e9f541f
Added basic Morrowind Scripting parsing
2017-10-07 20:13:00 -07:00
Alec Thomas
282a86e2a0
Merge pull request #50 from orivej/check
...
Add --check flag to aid in lexer development
2017-10-04 01:35:07 +11:00
Alec Thomas
cd75199aa5
Merge pull request #51 from orivej/nix
...
Add Nix lexer
2017-10-04 01:33:04 +11:00
Orivej Desh
0d06c7041c
Add Nix lexer
2017-10-03 12:31:09 +00:00
Orivej Desh
feb2cdccf3
Add --check flag to aid in lexer development
2017-10-03 12:03:25 +00:00
Alec Thomas
6d281667bb
Merge pull request #49 from FooSoft/toml-lexer
...
Add lexer for TOML
2017-10-02 08:42:05 +11:00
Alex Yatskov
0f36e89eec
Add lexer for TOML
2017-10-01 11:52:09 -07:00
Alec Thomas
63889d53db
Merge pull request #48 from Dekker1/feature/minizinc
...
Add lexer for MiniZinc
2017-10-01 22:52:59 +11:00
Jip J. Dekker
8f804c9a34
Add lexer for MiniZinc
2017-10-01 22:37:43 +11:00
Alec Thomas
0e0960930d
Don't output trailing \n for HTML-only fragment.
...
See #47 .
2017-09-30 14:45:37 +10:00
Alec Thomas
ce3d6bf527
Invert default "ensure newline" behaviour so that it is opt-in.
...
See #47 .
2017-09-30 14:41:05 +10: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
528bed2b60
Fix some capitalisation.
2017-09-29 09:56:36 +10:00
Alec Thomas
a430eb8138
Merge pull request #46 from DeedleFake/master
...
Add WDTE
2017-09-29 00:12:53 +10:00
Alec Thomas
33f604c892
Always use CSS class from StandardTypes.
...
As opposed to remapping to classes that exist in the current style.
2017-09-27 22:05:47 +10:00
Alec Thomas
80d3b96869
Ensure class names from default set exist.
2017-09-27 22:01:03 +10:00
Alec Thomas
2ca426a8d1
Make TypeMappingLexer a bit less prone to error.
2017-09-27 21:52:25 +10:00
Alec Thomas
cbc3d5b9f0
Implement special name mappings for EmacsLisp.
...
Fixes #43 .
2017-09-27 21:32:45 +10:00
Alec Thomas
102aa61ac3
Add RemappingLexer.
...
This pattern is used heavily in Pygments for certain lexers,
particularly Lisp variants. See #43 .
2017-09-27 11:30:55 +10:00
DeedleFake
d3a2d28ee2
Add WDTE.
2017-09-26 10:34:57 -04:00
Alec Thomas
c99eebc024
Merge pull request #39 from griffin-stewie/fix/capnproto_name
...
fix HTML entity reference
2017-09-27 00:34:18 +10:00
griffin-stewie
caf2542b1b
fix HTML entity reference ' to ‘
2017-09-26 22:37:54 +09:00
Alec Thomas
7debecf146
Update README.
2017-09-26 22:15:36 +10:00
Alec Thomas
fc9897da0d
Add SystemVerilog and hexdump.
...
Fixes #33 .
2017-09-26 22:13:55 +10:00
Alec Thomas
bc2d6680e4
Run gofmt -s over the codebase.
v0.1.1
2017-09-26 22:05:55 +10:00
Alec Thomas
c39abfb916
Squish the GitHub style a bit.
2017-09-26 22:05:55 +10:00
Alec Thomas
be25514088
Merge pull request #37 from steambap/master
...
Add c# lexer
2017-09-26 14:18:14 +10:00
Weilin Shi
e6a24f7412
Add c# highlight fix #32
2017-09-26 12:15:59 +08:00
Alec Thomas
67b8161815
Merge pull request #36 from AbeEstrada/patch-1
...
Add 'dracula' style
2017-09-26 13:48:18 +10:00
Abe Estrada
0f9e25c566
Add 'dracula' style
...
Converted from https://github.com/dracula/pygments
2017-09-25 21:11:21 -06:00
Alec Thomas
559a557458
Merge pull request #34 from Calinou/rename-nimrod-to-nim
...
Rename the Nimrod lexer to Nim
2017-09-26 06:10:31 +10:00
Hugo Locurcio
8604f257c9
Rename the Nimrod lexer to Nim
...
It has been the official name of the language for a while now.
2017-09-25 20:08:20 +02: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
2181aa5f70
Fix goreleaser config (hopefully).
v0.1.0
2017-09-25 18:15:44 +10:00
Alec Thomas
a75ba5dc2c
Use goreleaser.
2017-09-25 16:47:55 +10:00