Skip to content

Releases: alecthomas/chroma

v0.7.3

09 May 13:01
Compare
Choose a tag to compare

Changelog

809ff9b Don't emit styles that are missing a class
cc5e532 Add failing test for invalid css with allClasses
6b8ef36 Add ReasonML lexer
82f38b9 add gherkin lexer (#354)
80f4853 Improve performance of lexers.Get function (#351)
0da4bd1 Adds support for jsx blocks in typescript lexer
28041a8 Add YANG lexer (#348)
737b3a0 Update go modules

v0.7.2

13 Apr 12:24
Compare
Choose a tag to compare

Changelog

cc53faa Add option to preserve all HTML classes.
937aba1 Fixes #344.
4f3623d Fallback to HTML lexer for Markdown text.
34d9c71 Add new TokeniseOption EnsureLF (#336)
e5d9650 Add hlb lexer (#332)
866d0c8 Add lexer for SAS language (#337)
e54a758 Add testdata for terraform
c83e581 Updated terraform rules for Terraform 0.12+. Based on terraform documentation (https://www.terraform.io/docs/configuration/index.html). Added all builtin functions and updated syntax rules.
330c3bd Remove reference to now unneeded go.rice fork from go.mod
498eaa6 Fix deprecated methods in goreleaser.yml
0f6a31d rust: support raw identifiers
9e22bd6 Consider baseLineNumber when calculating the column width

v0.7.0

24 Nov 02:59
Compare
Choose a tag to compare

Changelog

28dcb85 Fixes #305.
cfc6117 mysql: added keywords 'privileges', 'identified' and 'user'
5921c52 Add bool argument to WithClasses, WithLineNumbers etc.
d3926cc Add WithPreWrapper option

v0.6.9

05 Nov 06:13
Compare
Choose a tag to compare

Changelog

3aaf3e5 Fix Java lexer (synced with latest Pygments).

v0.6.8

24 Oct 06:07
Compare
Choose a tag to compare

Changelog

bbc59ac Emit error tokens when there's a group mismatch.
a1c4eaa Add J lexer
aaa94ce svg: fixed text background rectangles
611a24c embedded font in svg (#292)
73d11b3 Clear background colour for TTY formatters.
b44683e Fix linter.
b618823 Add bibtex support.
20b4f5f Revert float pattern for C++.
6acfa13 Improve info on test regeneration (#287)
22511fb added svg formatter
0ff6248 Add multi-line comments to Nim lexer (#285)

v0.6.7

24 Sep 03:42
Compare
Choose a tag to compare

Changelog

8eb6aa7 Add Language Igor (#276)
d122d30 Add ABAP lexer
b964bce Update TradingView lexer to v4 (#279)
5152194 Sync docker lexer to latest Pygments.
2f5349a Add italics support for indexed colour terminals
f2e0513 Add italics support for truecolour terminals
6a3320f Fix several errors with c++
2b493e2 Fix SCSS issue with comments.
a5a6d52 Use chroma.StyleEntries instead of map
70b7419 Add EnsureNL in TypeScript lexer config
65b5eea Adds .fth extension for Forth.
f8432cf Update issue templates
b1f0162 Update issue templates
e6a5665 Add width:100% to content when inlining styles.

v0.6.6

20 Jul 10:35
Compare
Choose a tag to compare

Changelog

be3313d Update to most recent version of go.rice fork.
bbbfbe4 Update to more recent golangci-lint.
2ec7e6c Use Kong enum for lexers, formatters and styles.

v0.6.5

19 Jul 01:07
Compare
Choose a tag to compare

Changelog

5b0cc9c Use goreleaser release binary.
ebc5ee0 Latest go.rice version.
3411213 Temporarily use go.rice fork with correct asset timestamping/versioning.
9fbb212 Render full HTML.
89e7ddc Disable spellchecking/autocomplete.
5da2819 Add cache-busting version.
c86a269 Add info block.
aa71d61 Only allow POST to /api/render.
ffa8a4f CORS support + raw HTML view + more.
bdb587c Make playground completely dynamic.
2332264 Add CSRF support to chromad.
7a7fde2 Split out chromad resources.
91b44ff Lint isses.
10cee2e Add Chroma playground.
2b84f4b Sync R lexer with Pygments.
6b98624 Update julia.go (#258)

v0.6.3

25 Mar 04:16
Compare
Choose a tag to compare

Changelog

38460d1 Clean repo before running goreleaser because it's insanely pedantic.
564f7d3 add support for matlab
c67f8fe Support SystemVerilog DPI and DPI-C import statements
e10834d README adjustments (#236)
3bae20e Add modern struct keywords to Julia lexer
b5ccb8d Improve numbers parsing in Kotlin
f4dea84 Add Turing tests
243dad6 Add Turing lexer
8fd401f Fix JS second part of division expression
1a22fed Fix Rust raw string literals
af4cf6a Fix capitalisation mistake in lexer variable
15bc683 Remove comment and CPP name
c53abb0 Add Arduino lexer
3159487 Recognise hexadecimal colour values in TradingView lexer
8548c73 Move test assertion generation into testcase
6227d9b Add missing TradingView tokens
4b6319e Add basic graphql support
3c6b341 Add additional information about style to README
8ce6ac6 Enable EnsureNL for TradingView and C# lexers
abbe00c Provide some default styles for RRT (fixes #212) (#219)
da5ac60 Add golangci-lint and fix all lint issues.
e27f19c Remove unnecessary loop.
c4bec47 Don't break Markdown on multiple bolds on a single line.
2a59c2c Synthesise meta style-entries on demand.
69c9a26 Expose Colour.BrightenOrDarken (useful for #211).

v0.6.2

27 Dec 05:25
Compare
Choose a tag to compare

Changelog

881a441 Don't keep trailing empty tokens when splitting tokens by line.
4eb0355 Formatting.