commit 2fbd25223e610869596b3b18a5da4fb667c84219 parent e71dcf557ae5c8ff6bede873b947b8ca416e2c9e Author: Frederic Cambus <fred@statdns.com> Date: Tue, 13 Mar 2018 15:47:37 +0100 Use Rouge for syntax highlighting Diffstat:
M | src/motyl.rb | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/motyl.rb b/src/motyl.rb @@ -19,7 +19,7 @@ require 'yaml' # Load and process Markdown file def loadMD(path) - return Kramdown::Document.new(File.read(path)).to_html + return Kramdown::Document.new(File.read(path), syntax_highlighter: 'rouge').to_html end # Display status message