1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-25 21:39:02 +02:00

43 Commits

Author SHA1 Message Date
Jacques Pienaar
110f671e7c Update languages supported 2019-12-28 16:25:08 +11:00
Alexandru Băluț
a41c89767d Add the option of making the line numbers linkable 2019-12-12 17:31:43 -08:00
κeen
67fb64311a add SML lexer (#310) 2019-12-01 23:17:22 -08:00
Sean McGivern
a1c4eaa235 Add J lexer
Generated with _tools/pygments2chroma.py.

Sample `toupper` verb from `stdlib.ijs`:
https://github.com/jsoftware/jsource/blob/j808-release/jlibrary/system/main/stdlib.ijs
2019-10-22 07:23:06 +11:00
Jos512
d122d30d7b Add ABAP lexer 2019-09-20 07:52:50 +10:00
Alec Thomas
7a7fde259b Split out chromad resources. 2019-07-16 15:45:06 +10:00
Alec Thomas
1a13c19115 Add HCL lexer. 2019-06-17 22:51:52 +10:00
Bardi Harborow
e10834d052 README adjustments (#236)
* Update README.md badges to SVG.

* Change hyphen to em dash.

* Add highlight language to shell commands.
2019-02-27 23:00:55 +11:00
Jos512
c53abb037b Add Arduino lexer 2019-02-03 09:07:29 +11:00
Adam Scarr
4b6319e2ab Add basic graphql support 2019-01-24 14:12:19 +11:00
Jos512
3c6b341f5a Add additional information about style to README 2019-01-23 20:31:45 +11:00
Jos512
e9d4ea1fe5 Add missing lexers to README
And also more alphabetically.
2018-09-21 22:27:42 +10:00
Jos512
a24ed6d984 List lexers in README in table (#176)
This makes it easier to scan through the line and add new lexers in the future.
2018-09-21 18:01:03 +10:00
Jos512
fccc5bb5f5 First version of TradingView lexer
Treat ( and ) as text in lexer

Added test files and small change of lexer

Fixed 'err' messages in Chroma output

Removed postfix behind numbers

Was originally from C# lexer, but not needed for TradingView

Improved single comment, punctuation, and operator

Simplified text match, improved punctuation and operators

Add slash to punctuation

Added missing named variables

Added proper test data with .expected file

Added TradingView lexer
2018-09-10 20:10:06 +02:00
Kaushal Modi
e4dff9a08c Add Org mode lexer (https://orgmode.org)
Fixes https://github.com/alecthomas/chroma/issues/40.
2018-07-31 15:06:05 -04:00
James Turnbull
91b12285fd Added Ballerina - https://ballerina.io (#154) 2018-07-23 12:28:37 +10:00
Alec Thomas
e80511cc8c Document LineNumbersInTable(). 2018-06-25 20:04:04 +10:00
Alexander F Rødseth
17c7658a6a Add link to the Chroma Style Gallery 2018-04-09 20:15:14 +10:00
Peter Schultz
6b1131c006 Fix package name in README. 2018-04-04 23:22:54 +10:00
Alec Thomas
5e8fe409a4 Update list of supported lexers. 2018-03-19 12:35:17 +11:00
Steeve Chailloux
9c81d25368 Add svg support 2017-11-16 12:14:47 +11:00
Dmitri Shuralyov
ca4cfa51d5 README: Fix typo. 2017-11-07 14:37:57 +11:00
Anthony Fok
5645597739 Fix typo: translater → translator (#79) 2017-10-27 09:19:54 +11:00
Jip J. Dekker
8f804c9a34 Add lexer for MiniZinc 2017-10-01 22:37:43 +11:00
Alec Thomas
7debecf146 Update README. 2017-09-26 22:15:36 +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
alexander zillion
1b9f70d081 Add missing letter 2017-09-20 16:00:44 -05:00
Alec Thomas
cc0e4a59ab Switch to an Iterator interface.
This is to solve an issue where writers returned by the Formatter
were often stateful, but this fact was not obvious to the API consumer,
and failed in interesting ways.
2017-09-20 22:19:36 +10:00
Alec Thomas
b57f8a4b4b Update list. 2017-09-19 14:37:00 +10:00
Alec Thomas
04782e0678 Add doc.go. 2017-09-19 11:20:43 +10:00
Alec Thomas
c259129e64 Rename "raw" to "tokens", as it makes more sense. 2017-09-19 11:12:07 +10:00
Alec Thomas
b24f9361ab Update list of languages in README. 2017-09-19 11:01:32 +10:00
Alec Thomas
3df4c80190 Rename S -> R + sort list of lexers. 2017-09-19 10:47:22 +10:00
Alec Thomas
fbc889aad6 Correct HTML output + add R/S.
Fixes #1, #2, #3.
2017-09-19 10:30:10 +10:00
Alec Thomas
afc6c44415 Pure Go. 2017-09-18 15:05:57 +10:00
Alec Thomas
82f4e3cd79 Add list of supported languages. 2017-09-18 14:50:20 +10:00
Alec Thomas
19d5d708ad Gitter link. 2017-09-18 14:07:08 +10:00
Alec Thomas
d185b18f1e Add badges and Travis. 2017-09-18 14:04:02 +10:00
Alec Thomas
1374cf9ffb More README. 2017-09-18 13:59:11 +10:00
Alec Thomas
ca585f2681 Less-brief introduction. 2017-09-18 13:33:56 +10:00
Alec Thomas
431e913333 Update documentation. Include "quick" package. 2017-09-18 13:15:07 +10:00
Alec Thomas
7ae55eb265 Wire up content sniffing. 2017-06-07 19:47:59 +10:00
Alec Thomas
d852022f8d Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00