Skip to content

Releases: alecthomas/chroma

v0.6.1

21 Dec 23:49
Compare
Choose a tag to compare

Changelog

3b3f74c Fix stdin mode in chroma tool.
3175fa5 Support go modules + VB.Net lexer.
813e33c Fix YAML pipe symbol (issue #194)
022b6f4 Fix --json.
fb4c38e Fix build (see #190).
a4f1799 move SplitTokensIntoLines into chroma/iterator.go, fixes issue #190
9c3abea Tokens by value (#187)

v0.6.0

02 Nov 07:17
Compare
Choose a tag to compare

Changelog

5a47317 Improve Go lexer to detect functions (NameFunction)
01e1883 Elixir: add underscore separators for hex, oct, bin
c0b13da Added missing 'to' keyword to TradingView lexer
0955241 Add HTTP unit test
eafa8e1 Properly syntax highlight HTTP body
e9d4ea1 Add missing lexers to README
a24ed6d List lexers in README in table (#176)
1ab0293 Add test for Bash lexer (#172)
c4123fc #170 Add lexer for systemd config files (#171)
e36baa2 Add option to prevent surroundign pre tags
0ee9168 Fixes #168 (error with bash lexer)
3575c5f Fix line endings in tradingview fixture.
d5ca12b Merge pull request #166 from Jos512/tradingview
fccc5bb First version of TradingView lexer

v0.5.0

03 Aug 00:24
5d7fef2
Compare
Choose a tag to compare

Changelog

5d7fef2 Merge pull request #157 from kaushalmodi/nim_underscore
cccad29 Merge pull request #158 from kaushalmodi/improve-org-mode-support
e6c740a Merge pull request #161 from kaushalmodi/add-genericunderline-class
371820d Assign .gl class to GenericUnderline; add CSS rules for the same
7e453ef Add more Org mode syntax support
a85919f Allow standalone _ to be recognized as identifier in Nim
3fb10fb Merge pull request #156 from kaushalmodi/add-org-mode
e4dff9a Add Org mode lexer (https://orgmode.org)
91b1228 Added Ballerina - https://ballerina.io (#154)
0c0b382 Add .gitconfig to Ini lexer filenames.
0961f82 Fix nearest colour matching.
1da70b2 Merge pull request #152 from pzl/monkeyc
e80511c Document LineNumbersInTable().
b18849c add jungle lexer
8387f77 add monkeyc lexer
1e3d94a Merge pull request #151 from pzl/openscad
a2f2f3c add openscad lexer
d7b2ed2 Merge pull request #149 from kenshaw/fix-dollar-strings
95d0a93 Fix Dollar-Quoted Strings (postgres + cql)
307ceef Merge pull request #148 from kenshaw/add-cql-lexer
2eb5cac Add Cassandra CQL lexer
1b755a9 c++: fix highlighting of the 'class' keyword
7f4d42f Add EnsureNL to Rust lexer; Add test data for Rust lexer
222a1f0 Don't require --html to write styles.
33cc533 ✨ New styles from solarized styles family
cd79368 Create plaintext lexer (#138)
17c7658 Add link to the Chroma Style Gallery
6b1131c Fix package name in README.
51d250f Add testdata for dart
85c342e Add test data for gdscript
5640f89 Revert #78.
5e8fe40 Update list of supported lexers.
6a5b719 Correct handling of whitespace in Go templates.
29681d8 Correctly handle := and $
59f5549 Fix DelegatingLexer.
5ef2d37 Analysre for PHP.
b21a6da Human readable name for Go template lexers.
f315512 Add support for Go templates.
db6920e Implemented delegating lexer.
15a009f Add DelegatingLexer.
8f28919 Use alecthomas/assert.

v0.3.0

15 Feb 10:12
Compare
Choose a tag to compare

Changelog

563aadc Moved lexers into alphabetical sub-packages.
50a6b50 Slightly smarter YAML.
e4cd164 Ensure that HTML code column expands to full width of container.
03fd038 fix func compressStyle(s string) for CSS Shorthand properties
33dd172 fix PHP comment highlighting bug (#81)
205105f Fixed newlines at end of C++ files.
a35b8fe Fix incorrect javascript comment highlight (#104)
35126f9 Implement rudimentary JSX lexer based on https://github.com/fcurella/jsx-lexer/blob/master/jsx/lexer.py
5964ce9 Add Solidity lexer
38cc9bd Deduplicate some strings in the Kotlin lexer.
9653d70 Kotlin lexer improvements fixes #93
ce92184 Deduplicate a bunch more text, in Python3 lexer this time.
4afa8aa Deduplicate a bunch of text in Scala lexer.
71ddf55 Fix README for test fixtures.


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.2.1

02 Jan 09:18
Compare
Choose a tag to compare

Changelog

e0f32fb Make lexer fixture running cleaner.
e56590a Add data-driven test framework for lexers.
d26f247 Support CSS Custom Property definitions.
c9f612c Fix broken css rules output
c6b01cb Ensure newline in diff lexer
3289a10 improve http lexer
27b4ff3 add http lexer
9401ea9 Expand single and double quote string lexing in mysql, sql, and transactsql lexers


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.2.0

24 Nov 09:13
Compare
Choose a tag to compare

Changelog

d08da05 Add TeX/LaTeX support.
2e7e1e1 Extend lexers.Get() to support filenames.
9c81d25 Add svg support
75ce886 Import SCSS lexer from Pygments. Fixes #82.
ca4cfa5 README: Fix typo.
20d03ba Catch some static class in csharp lexer (#78)
5645597 Fix typo: translater → translator (#79)
3d8ce90 Select lexer with --filename argument (#77)
93868c5 Add Objective-C and support lexer priorities.
ac34ab1 Remove binary file and add to gitignore (#72)
d6eb27d Allow .mkd and .markdown (#73)
8533b63 quick: add an example (#70)
972d700 Allow for /usr/bin/env shebangs (#71)
03b0c0d Changed terminal16m to semicolons (#64)
02c4adc Add a chroma class wrapper when in "table mode" (#63)
4a55aef Adding HasClasses method for HTML formatter (#61)
6604d06 Regenerate TokenType stringer (#60)
6326cba Add test for EnsureNL.
27733ac Add table styled line numbers (#54)
92586fd Switch shell #! to preproc.
fd7f3ef Merge pull request #56 from kaushalmodi/add-nl-for-verilog-lexers
26632c8 Merge pull request #57 from kenshaw/add-ordering-to-styles-formatters
edf15b0 Fix order output of chroma cli tool
8f90f6d Add newline at eof for (system)verilog lexers
7f66cd3 Merge pull request #53 from alecnunn/master
7b1e9f5 Added basic Morrowind Scripting parsing
282a86e Merge pull request #50 from orivej/check
cd75199 Merge pull request #51 from orivej/nix
0d06c70 Add Nix lexer
feb2cdc Add --check flag to aid in lexer development
6d28166 Merge pull request #49 from FooSoft/toml-lexer
0f36e89 Add lexer for TOML
63889d5 Merge pull request #48 from Dekker1/feature/minizinc
8f804c9 Add lexer for MiniZinc
0e09609 Don't output trailing \n for HTML-only fragment.
ce3d6bf Invert default "ensure newline" behaviour so that it is opt-in.
573c1d1 Ensure a newline exists at the end of files.
528bed2 Fix some capitalisation.
a430eb8 Merge pull request #46 from DeedleFake/master
33f604c Always use CSS class from StandardTypes.
80d3b96 Ensure class names from default set exist.
2ca426a Make TypeMappingLexer a bit less prone to error.
cbc3d5b Implement special name mappings for EmacsLisp.
102aa61 Add RemappingLexer.
d3a2d28 Add WDTE.
c99eebc Merge pull request #39 from griffin-stewie/fix/capnproto_name
caf2542 fix HTML entity reference ' to ‘
7debecf Update README.
fc9897d Add SystemVerilog and hexdump.


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.1.1

26 Sep 12:08
Compare
Choose a tag to compare

Changelog

bc2d668 Run gofmt -s over the codebase.
c39abfb Squish the GitHub style a bit.
be25514 Merge pull request #37 from steambap/master
e6a24f7 Add c# highlight fix #32
67b8161 Merge pull request #36 from AbeEstrada/patch-1
0f9e25c Add 'dracula' style
559a557 Merge pull request #34 from Calinou/rename-nimrod-to-nim
8604f25 Rename the Nimrod lexer to Nim
bdc1124 Switch to Pygments-style CSS class names.


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.1.0

25 Sep 08:19
Compare
Choose a tag to compare

Changelog

2181aa5 Fix goreleaser config (hopefully).
a75ba5d Use goreleaser.
b0295f6 Remove spurious newline in HTML output.
022592b Correctly prioritise names over aliases.
cf0d471 Merge pull request #26 from glaforge/patch-1
cce6c8e Missing 'as' and 'in' keywords
b83a015 More YAML tweaks.
b25b614 Remove comment.
237eebb A naive YAML lexer.
c984ca4 Add html.BaseLineNumber(n).
d1be630 Merge pull request #25 from steambap/master
cff81ff Add GDScript lexer
0e1d1c1 Merge pull request #24 from rogersachan/patch-1
b3b9d8d Remove old license
1af7e1a Adjust line number padding a bit.
99d0e49 Simplify command-line flags a bit.
d5083b3 Big changes to the style and colour APIs.
9d7539a Fix bug in Turtle lexer.
a5a3b67 Reprocess all rules after a LexerMutator is applied.
8170d52 Remove dependency on go-colorful.
2ce2ec7 Fix bug with empty states.
0bb853f Convert Include to a LexerMutator.
f8658ed Add Restructured Text lexer.
e5fd873 Merge pull request #20 from sago35/fix-windows-color
1364bff Fix colors on windows
c279acf Merge pull request #19 from steambap/master
698bea1 Fix JavaScript keywords
1724aab Implement compile-time lexer mutators.
60797cc Add tracing + better error recovery.
e5e7b57 Fix style tests.
551f7ce Return errors for invalid styles, rather than panicking.
e59d463 Add async/await to JS lexer. Fixes #12.
4c6dba0 Add "monokailight" style.
fd4772d Merge pull request #11 from azillion/patch-1
1b9f70d Add missing letter
e2d6aba Document and add iterator panic recovery.
cc0e4a5 Switch to an Iterator interface.
36ead72 Use utf8.RuneCountInString() rather than len() :(
3f941dd Correctly add styles for line numbers and line highlights when inling.
44b23f9 Split Regexp lexer into its own file.
a5637e6 Support for highlighting ranges of lines.
3f230ec Add support for line numbers.
feb78ed Combine HTML formatting functions.
b57f8a4 Update list.
2b1ffff Add missing Genshi variants.
a729603 Add test to pre-compile all regexes.
87183b3 Add HTML formatter option for setting the tab width.
631fc87 Fix lua lexer, and actually check error value from compiling regexes :(
00d5486 Add lexers.MatchMimeType(mimeType).
d80c30a Sort formatters and styles Names().
04782e0 Add doc.go.
c259129 Rename "raw" to "tokens", as it makes more sense.
affaf50 Add lower-case '*.r' glob for R.
b24f936 Update list of languages in README.
3df4c80 Rename S -> R + sort list of lexers.
fbc889a Correct HTML output + add R/S.


Automated with GoReleaser
Built with go version go1.9 linux/amd64