Add support for the rouge highlighter. (#336)
https://github.com/jneen/rouge
This commit is contained in:
parent
2eaff04946
commit
4f00962a81
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
require 'shellwords'
|
||||
|
||||
COMMAND = %[(highlight -O ansi -l {} || coderay {} || cat {}) 2> /dev/null]
|
||||
COMMAND = %[(highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null]
|
||||
ANSI = /\x1b\[[0-9;]*m/
|
||||
REVERSE = "\x1b[7m"
|
||||
RESET = "\x1b[m"
|
||||
|
|
Loading…
Add table
Reference in a new issue