From 358d02a4a7c9b81e68a1c3778c68b97987b1a360 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 20 Aug 2011 18:39:00 -0400 Subject: centralized pygments aliases into pygments_code.rb. Added alias for .ru (ruby), which sort of fixes #108 --- plugins/code_block.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/code_block.rb') diff --git a/plugins/code_block.rb b/plugins/code_block.rb index 55267a36..d82893ea 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -77,9 +77,6 @@ module Jekyll source += @caption if @caption source = context['pygments_prefix'] + source if context['pygments_prefix'] if @filetype - @filetype = 'objc' if @filetype == 'm' - @filetype = 'perl' if @filetype == 'pl' - @filetype = 'yaml' if @filetype == 'yml' source += " #{highlight(code, @filetype)}" else source += "#{tableize_code(code.lstrip.rstrip.gsub(/" -- cgit v1.2.1