module Noir

Overview

Noir is a syntax highlight library for Crystal.

Defined in:

noir.cr:2
noir.cr:13
noir/token.cr
noir/version.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.find_lexer(name : String) : Lexer | Nil #

[View source]
def self.find_theme(name : String, scope = ".highlight") : Theme | Nil #

[View source]
def self.highlight(code : String, lexer, formatter) #

[View source]