Sha256: e580c6401bc746d6121514f6fa5f42954fe872f277a887bee5f31fa425ab7c6d
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
module Rouge module Lexers class Text < Lexer desc "A boring lexer that doesn't highlight anything" tag 'text' filenames '*.txt' mimetypes 'text/plain' def stream_tokens(stream, &b) yield Token['Text'], stream.string end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rouge-0.2.1 | lib/rouge/lexers/text.rb |