language-ansi

ANSI Terminal Markup support in Atom

klorenz

2,123

1

Bug Reports

1.1.1

MIT

GitHub

Language ANSI

Highlight ANSI Markups in Terminal Output.

Origin of the code for this package is build-output-grammar.coffe. There the ANSI markup language was embedded into build output Grammar, which also highlighted other things like python errors.

This is a revised version of the grammar orienting more on TextMate Language Grammar Naming Conventions. It also provides an injection grammar, which will apply in all text.* grammars.

Development

Grammar is generated from src/ansi-grammar.coffee. So if you would like to contribute, please edit this file and then run

  $ coffee src/ansi.coffee
    Grammar created.