noir

Version, currently main branch1 version
  • main branchlatestJun 11, 2021

github.com/makenowjust/noir

Syntax Highlight Library for Crystal

29 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  noir:
    github: makenowjust/noir
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
TSUYUSATO Kitsune <make.just.on@gmail.com>

Dependencies

This version declares no dependencies.

README

# NOIR

Syntax Highlight Library for [Crystal](https://crystal-lang.org)

## CLI

[ET NOIR](etnoir/) is CLI tool for NOIR. It can be installed with these commands:

```console
$ git clone https://github.com/MakeNowJust/noir
$ cd noir
$ make
```

Then `bin/etnoir` is available:

```console
$ bin/etnoir
ET NOIR - NOIR command-line tool

Usage:
    etnoir highlight FILENAME
    etnoir style THEME

Command:
    highlight                        highlight FILENAME content
    style                            print THEME style as CSS
    help                             show this help
    version                          show ET NOIR version
```

## Note

This project is heavily inspired by [jneen/rouge](https://github.com/jneen/rouge).

## License

MIT and [:sushi:](https://github.com/MakeNowJust/sushi-ware)
© TSUYUSATO "[MakeNowJust](https://quine.codes)" Kitsune <<make.just.on@gmail.com>> 2016-2017