From 7b52fb492ec003efbc0663fc5f8549bc4c6209b8 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 1 Aug 2011 17:35:33 -0400 Subject: added yml alias for yaml code highlighting --- plugins/code_block.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/code_block.rb') diff --git a/plugins/code_block.rb b/plugins/code_block.rb index 86708285..ff242aab 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -79,6 +79,7 @@ module Jekyll if @filetype @filetype = 'objc' if @filetype == 'm' @filetype = 'perl' if @filetype == 'pl' + @filetype = 'yaml' if @filetype == 'yml' source += " #{highlight(code, @filetype)}" else source += "
" + code.lstrip.rstrip.gsub(/
" -- cgit v1.2.1