Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.299 kb
desc "List the available lexers"
task :lexers do
$LOAD_PATH.unshift 'lib'
require 'mustache/plugins/syntax_highlighter'
lexers =
Mustache::Plugins::SyntaxHighlighter.instance_methods.grep(/highlight/)
puts 'Lexers:'
puts lexers.map { |lexer| ' ' + lexer.sub('highlight_', '') }
end
Jump to Line
Something went wrong with that request. Please try again.