Coder Social home page Coder Social logo

noir's Introduction

NOIR

Syntax Highlight Library for Crystal

CLI

ET NOIR is CLI tool for NOIR. It can be installed with these commands:

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

Then bin/etnoir is available:

$ 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.

License

MIT and 🍣 © TSUYUSATO "MakeNowJust" Kitsune <[email protected]> 2016-2017

noir's People

Contributors

makenowjust avatar vjousse avatar fabon-f avatar 5t111111 avatar

Stargazers

Juri Hahn avatar  avatar Pedro M. Silva avatar Martin Mareš avatar Jordan Ellis Coppard avatar Dominic Grimm avatar Anton Maminov avatar Vlad Zarakovsky avatar Celso Fernandes avatar Håkan Nylén avatar  avatar Hugo Parente Lima avatar Chris Watson avatar freya avatar  avatar Eric Robibaro avatar ピスキー avatar Hiromi Kai avatar  avatar karupanerura avatar Kent Gruber avatar Son Jungwook avatar Stephanie Wilde-Hobbs avatar Tamay Eser Uysal avatar Taichiro Suzuki avatar Igor Zubkov avatar Serdar Dogruyol - Sedo セド avatar sh4869 avatar Pine Mizune avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

noir's Issues

Set up CI

  • Decide which CI service to choose (Travis CI? CircleCI? or...?)
  • Set up CI
  • Add status badge to README.md

Crystal 1.0.0 compatibility

By default noir isn't compatible with crystal 1.0.0 projects as it doesn't specify a crystal version in its shards.yml

Specifying crystal: 1.0.0 in its shards.yml makes it compatible out of the box with crystal 1.0.0.
What about freezing the current version with a release tag and releasing a new version compatible with 1.0.0 projects?

`find_lexer` doesn't work

Crystal 1.2.0 (2021-10-13)

LLVM: 11.1.0
Default target: x86_64-apple-macosx

my code

require "noir"
puts Noir.find_lexer("css")

output


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.