lib/rouge/cli.rb in rouge-2.1.1 vs lib/rouge/cli.rb in rouge-2.2.0
- old
+ new
@@ -271,9 +271,10 @@
when 'terminal256' then Formatters::Terminal256.new(theme)
when 'html' then Formatters::HTML.new
when 'html-pygments' then Formatters::HTMLPygments.new(Formatters::HTML.new, opts[:css_class])
when 'html-inline' then Formatters::HTMLInline.new(theme)
when 'html-table' then Formatters::HTMLTable.new(Formatters::HTML.new)
+ when 'null', 'raw', 'tokens' then Formatters::Null.new
else
error! "unknown formatter preset #{opts[:formatter]}"
end
end