Releases: alecthomas/chroma
v0.8.0
Changelog
4da591c Use EnsureNL for go lexer
e62d93f Add a timeout to regexes.
5756434 Add .editorconfig to ini lexer
391f301 Fix golangci-lint download
bac6996 added curly braces to toml lexer
2b9ea60 Split PHP into two lexers - PHP and PHTML.
1150149 Fix TypeScript keywords
57c1bd9 Added pony lexer (#372)
500529f Minor fix for name constants
8785122 Additional fixes for placeholders
155bdea Update Caddyfile lexer to fix edgecases and improve colouring
bd46305 Add Zig lexer
6896804 Add Caddyfile lexer (#363)
ee4284b Add a Rules.Merge() helper function.
4065717 feat: support HTTP/2 in HTTP lexer
2612dee add yaml test cases for more bool types and multi-line flow scalars.
2b9c82d yaml parse multiline block scalars as single StringDoc
16bde86 yaml parse for all bool keyword constant variations
684c267 yaml parse plan scalar values as literals rather than text.
705c61c yaml parse --- and ... as NameNamespace
0d4fb38 yaml parse keys as NameTag rather than Keyword
ec5955f Make single # on a line recognized as CommentSingle
8c4fe7e Add failing test case for single # in bash
v0.7.3
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
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
v0.6.9
v0.6.8
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
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
v0.6.5
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
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).