moved from albino -> pygments.rb
This commit is contained in:
parent
d49645a013
commit
b3279b9b51
7 changed files with 21 additions and 17 deletions
|
@ -32,8 +32,7 @@ class Snippet < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def colorize
|
||||
ft = handle_file_type(file_name)
|
||||
Albino.colorize(content, ft, :html, 'utf-8', "linenos=True")
|
||||
system_colorize(content, file_name)
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue