rouge 3.2.0 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +17 -3
- data/bin/rougify +1 -0
- data/lib/rouge.rb +67 -43
- data/lib/rouge/cli.rb +84 -17
- data/lib/rouge/demos/ada +26 -0
- data/lib/rouge/demos/apex +9 -0
- data/lib/rouge/demos/armasm +12 -0
- data/lib/rouge/demos/batchfile +3 -0
- data/lib/rouge/demos/bbcbasic +6 -0
- data/lib/rouge/demos/bpf +7 -0
- data/lib/rouge/demos/brainfuck +5 -0
- data/lib/rouge/demos/clean +6 -0
- data/lib/rouge/demos/cmhg +8 -0
- data/lib/rouge/demos/csvs +8 -0
- data/lib/rouge/demos/cuda +11 -0
- data/lib/rouge/demos/cypher +5 -0
- data/lib/rouge/demos/cython +6 -0
- data/lib/rouge/demos/datastudio +21 -0
- data/lib/rouge/demos/ecl +18 -0
- data/lib/rouge/demos/eex +1 -0
- data/lib/rouge/demos/epp +4 -0
- data/lib/rouge/demos/escape +3 -0
- data/lib/rouge/demos/freefem +16 -0
- data/lib/rouge/demos/gdscript +18 -0
- data/lib/rouge/demos/ghc-cmm +23 -0
- data/lib/rouge/demos/ghc-core +26 -0
- data/lib/rouge/demos/haxe +5 -0
- data/lib/rouge/demos/hocon +8 -0
- data/lib/rouge/demos/hql +5 -0
- data/lib/rouge/demos/isbl +4 -0
- data/lib/rouge/demos/jsl +3 -0
- data/lib/rouge/demos/jsp +29 -0
- data/lib/rouge/demos/liquid +0 -1
- data/lib/rouge/demos/lustre +6 -0
- data/lib/rouge/demos/lutin +18 -0
- data/lib/rouge/demos/m68k +16 -0
- data/lib/rouge/demos/magik +6 -0
- data/lib/rouge/demos/mason +22 -0
- data/lib/rouge/demos/mathematica +8 -0
- data/lib/rouge/demos/minizinc +23 -0
- data/lib/rouge/demos/msgtrans +4 -0
- data/lib/rouge/demos/nasm +6 -6
- data/lib/rouge/demos/nesasm +11 -0
- data/lib/rouge/demos/objective_cpp +17 -0
- data/lib/rouge/demos/openedge +4 -0
- data/lib/rouge/demos/opentype_feature_file +6 -0
- data/lib/rouge/demos/plist +1 -132
- data/lib/rouge/demos/powershell +12 -48
- data/lib/rouge/demos/q +6 -0
- data/lib/rouge/demos/reasonml +12 -0
- data/lib/rouge/demos/rego +8 -0
- data/lib/rouge/demos/robot_framework +27 -0
- data/lib/rouge/demos/sas +13 -0
- data/lib/rouge/demos/slice +10 -0
- data/lib/rouge/demos/solidity +13 -0
- data/lib/rouge/demos/sparql +6 -0
- data/lib/rouge/demos/sqf +14 -0
- data/lib/rouge/demos/supercollider +11 -0
- data/lib/rouge/demos/terraform +0 -15
- data/lib/rouge/demos/ttcn3 +6 -0
- data/lib/rouge/demos/vcl +12 -0
- data/lib/rouge/demos/xojo +14 -0
- data/lib/rouge/demos/xpath +2 -0
- data/lib/rouge/demos/xquery +22 -0
- data/lib/rouge/demos/yang +17 -0
- data/lib/rouge/formatter.rb +39 -2
- data/lib/rouge/formatters/html.rb +21 -2
- data/lib/rouge/formatters/html_inline.rb +1 -0
- data/lib/rouge/formatters/html_legacy.rb +1 -0
- data/lib/rouge/formatters/html_line_table.rb +53 -0
- data/lib/rouge/formatters/html_linewise.rb +7 -11
- data/lib/rouge/formatters/html_pygments.rb +2 -0
- data/lib/rouge/formatters/html_table.rb +21 -31
- data/lib/rouge/formatters/null.rb +1 -0
- data/lib/rouge/formatters/terminal256.rb +23 -5
- data/lib/rouge/formatters/terminal_truecolor.rb +37 -0
- data/lib/rouge/formatters/tex.rb +92 -0
- data/lib/rouge/guesser.rb +2 -0
- data/lib/rouge/guessers/disambiguation.rb +35 -0
- data/lib/rouge/guessers/filename.rb +2 -0
- data/lib/rouge/guessers/glob_mapping.rb +3 -1
- data/lib/rouge/guessers/mimetype.rb +2 -0
- data/lib/rouge/guessers/modeline.rb +3 -1
- data/lib/rouge/guessers/source.rb +3 -1
- data/lib/rouge/guessers/util.rb +2 -0
- data/lib/rouge/lexer.rb +71 -15
- data/lib/rouge/lexers/abap.rb +13 -11
- data/lib/rouge/lexers/actionscript.rb +35 -34
- data/lib/rouge/lexers/ada.rb +162 -0
- data/lib/rouge/lexers/apache.rb +13 -15
- data/lib/rouge/lexers/apache/keywords.rb +15 -0
- data/lib/rouge/lexers/apex.rb +126 -0
- data/lib/rouge/lexers/apiblueprint.rb +2 -0
- data/lib/rouge/lexers/apple_script.rb +17 -14
- data/lib/rouge/lexers/armasm.rb +145 -0
- data/lib/rouge/lexers/awk.rb +26 -25
- data/lib/rouge/lexers/batchfile.rb +164 -0
- data/lib/rouge/lexers/bbcbasic.rb +112 -0
- data/lib/rouge/lexers/biml.rb +6 -4
- data/lib/rouge/lexers/bpf.rb +118 -0
- data/lib/rouge/lexers/brainfuck.rb +53 -0
- data/lib/rouge/lexers/bsl.rb +13 -12
- data/lib/rouge/lexers/c.rb +35 -57
- data/lib/rouge/lexers/ceylon.rb +7 -34
- data/lib/rouge/lexers/cfscript.rb +27 -26
- data/lib/rouge/lexers/clean.rb +156 -0
- data/lib/rouge/lexers/clojure.rb +15 -14
- data/lib/rouge/lexers/cmake.rb +16 -14
- data/lib/rouge/lexers/cmhg.rb +34 -0
- data/lib/rouge/lexers/coffeescript.rb +90 -49
- data/lib/rouge/lexers/common_lisp.rb +39 -38
- data/lib/rouge/lexers/conf.rb +7 -6
- data/lib/rouge/lexers/console.rb +92 -38
- data/lib/rouge/lexers/coq.rb +27 -23
- data/lib/rouge/lexers/cpp.rb +24 -13
- data/lib/rouge/lexers/crystal.rb +71 -70
- data/lib/rouge/lexers/csharp.rb +29 -29
- data/lib/rouge/lexers/css.rb +24 -23
- data/lib/rouge/lexers/csvs.rb +44 -0
- data/lib/rouge/lexers/cuda.rb +35 -0
- data/lib/rouge/lexers/cypher.rb +108 -0
- data/lib/rouge/lexers/cython.rb +151 -0
- data/lib/rouge/lexers/d.rb +64 -63
- data/lib/rouge/lexers/dart.rb +34 -33
- data/lib/rouge/lexers/datastudio.rb +138 -0
- data/lib/rouge/lexers/diff.rb +10 -4
- data/lib/rouge/lexers/digdag.rb +3 -1
- data/lib/rouge/lexers/docker.rb +12 -11
- data/lib/rouge/lexers/dot.rb +19 -18
- data/lib/rouge/lexers/ecl.rb +175 -0
- data/lib/rouge/lexers/eex.rb +52 -0
- data/lib/rouge/lexers/eiffel.rb +21 -20
- data/lib/rouge/lexers/elixir.rb +52 -36
- data/lib/rouge/lexers/elm.rb +30 -29
- data/lib/rouge/lexers/epp.rb +51 -0
- data/lib/rouge/lexers/erb.rb +5 -4
- data/lib/rouge/lexers/erlang.rb +1 -0
- data/lib/rouge/lexers/escape.rb +58 -0
- data/lib/rouge/lexers/factor.rb +41 -40
- data/lib/rouge/lexers/fortran.rb +34 -32
- data/lib/rouge/lexers/freefem.rb +240 -0
- data/lib/rouge/lexers/fsharp.rb +33 -31
- data/lib/rouge/lexers/gdscript.rb +171 -0
- data/lib/rouge/lexers/ghc_cmm.rb +340 -0
- data/lib/rouge/lexers/ghc_core.rb +151 -0
- data/lib/rouge/lexers/gherkin.rb +17 -14
- data/lib/rouge/lexers/gherkin/keywords.rb +2 -0
- data/lib/rouge/lexers/glsl.rb +2 -5
- data/lib/rouge/lexers/go.rb +3 -2
- data/lib/rouge/lexers/gradle.rb +1 -0
- data/lib/rouge/lexers/graphql.rb +78 -60
- data/lib/rouge/lexers/groovy.rb +24 -25
- data/lib/rouge/lexers/hack.rb +2 -1
- data/lib/rouge/lexers/haml.rb +26 -29
- data/lib/rouge/lexers/handlebars.rb +32 -20
- data/lib/rouge/lexers/haskell.rb +67 -65
- data/lib/rouge/lexers/haxe.rb +246 -0
- data/lib/rouge/lexers/hcl.rb +26 -25
- data/lib/rouge/lexers/hocon.rb +86 -0
- data/lib/rouge/lexers/hql.rb +139 -0
- data/lib/rouge/lexers/html.rb +33 -31
- data/lib/rouge/lexers/http.rb +10 -9
- data/lib/rouge/lexers/hylang.rb +15 -14
- data/lib/rouge/lexers/idlang.rb +34 -32
- data/lib/rouge/lexers/igorpro.rb +32 -31
- data/lib/rouge/lexers/ini.rb +13 -12
- data/lib/rouge/lexers/io.rb +10 -9
- data/lib/rouge/lexers/irb.rb +6 -5
- data/lib/rouge/lexers/isbl.rb +97 -0
- data/lib/rouge/lexers/isbl/builtins.rb +17 -0
- data/lib/rouge/lexers/java.rb +29 -25
- data/lib/rouge/lexers/javascript.rb +58 -61
- data/lib/rouge/lexers/jinja.rb +39 -22
- data/lib/rouge/lexers/jsl.rb +55 -0
- data/lib/rouge/lexers/json.rb +54 -11
- data/lib/rouge/lexers/json_doc.rb +8 -5
- data/lib/rouge/lexers/jsonnet.rb +19 -18
- data/lib/rouge/lexers/jsp.rb +120 -0
- data/lib/rouge/lexers/jsx.rb +18 -16
- data/lib/rouge/lexers/julia.rb +182 -58
- data/lib/rouge/lexers/kotlin.rb +78 -26
- data/lib/rouge/lexers/lasso.rb +54 -58
- data/lib/rouge/lexers/lasso/keywords.rb +14 -0
- data/lib/rouge/lexers/liquid.rb +116 -118
- data/lib/rouge/lexers/literate_coffeescript.rb +3 -2
- data/lib/rouge/lexers/literate_haskell.rb +6 -5
- data/lib/rouge/lexers/llvm.rb +66 -49
- data/lib/rouge/lexers/lua.rb +43 -4
- data/lib/rouge/lexers/lua/builtins.rb +2 -0
- data/lib/rouge/lexers/lustre.rb +79 -0
- data/lib/rouge/lexers/lutin.rb +33 -0
- data/lib/rouge/lexers/m68k.rb +143 -0
- data/lib/rouge/lexers/magik.rb +127 -0
- data/lib/rouge/lexers/make.rb +57 -34
- data/lib/rouge/lexers/markdown.rb +67 -39
- data/lib/rouge/lexers/mason.rb +110 -0
- data/lib/rouge/lexers/mathematica.rb +96 -0
- data/lib/rouge/lexers/mathematica/builtins.rb +13 -0
- data/lib/rouge/lexers/matlab.rb +26 -17
- data/lib/rouge/lexers/matlab/builtins.rb +4 -4
- data/lib/rouge/lexers/minizinc.rb +87 -0
- data/lib/rouge/lexers/moonscript.rb +4 -3
- data/lib/rouge/lexers/mosel.rb +64 -63
- data/lib/rouge/lexers/msgtrans.rb +26 -0
- data/lib/rouge/lexers/mxml.rb +19 -18
- data/lib/rouge/lexers/nasm.rb +43 -169
- data/lib/rouge/lexers/nesasm.rb +78 -0
- data/lib/rouge/lexers/nginx.rb +15 -14
- data/lib/rouge/lexers/nim.rb +4 -2
- data/lib/rouge/lexers/nix.rb +44 -43
- data/lib/rouge/lexers/objective_c.rb +5 -178
- data/lib/rouge/lexers/objective_c/common.rb +184 -0
- data/lib/rouge/lexers/objective_cpp.rb +31 -0
- data/lib/rouge/lexers/ocaml.rb +29 -64
- data/lib/rouge/lexers/ocaml/common.rb +53 -0
- data/lib/rouge/lexers/openedge.rb +429 -0
- data/lib/rouge/lexers/opentype_feature_file.rb +113 -0
- data/lib/rouge/lexers/pascal.rb +6 -5
- data/lib/rouge/lexers/perl.rb +102 -67
- data/lib/rouge/lexers/php.rb +91 -53
- data/lib/rouge/lexers/php/builtins.rb +183 -174
- data/lib/rouge/lexers/plain_text.rb +2 -1
- data/lib/rouge/lexers/plist.rb +16 -14
- data/lib/rouge/lexers/pony.rb +21 -20
- data/lib/rouge/lexers/powershell.rb +190 -638
- data/lib/rouge/lexers/praat.rb +76 -75
- data/lib/rouge/lexers/prolog.rb +27 -19
- data/lib/rouge/lexers/prometheus.rb +32 -30
- data/lib/rouge/lexers/properties.rb +13 -12
- data/lib/rouge/lexers/protobuf.rb +23 -22
- data/lib/rouge/lexers/puppet.rb +33 -32
- data/lib/rouge/lexers/python.rb +124 -99
- data/lib/rouge/lexers/q.rb +17 -14
- data/lib/rouge/lexers/qml.rb +13 -12
- data/lib/rouge/lexers/r.rb +13 -13
- data/lib/rouge/lexers/racket.rb +47 -22
- data/lib/rouge/lexers/reasonml.rb +65 -0
- data/lib/rouge/lexers/rego.rb +45 -0
- data/lib/rouge/lexers/robot_framework.rb +249 -0
- data/lib/rouge/lexers/ruby.rb +88 -71
- data/lib/rouge/lexers/rust.rb +45 -44
- data/lib/rouge/lexers/sas.rb +563 -0
- data/lib/rouge/lexers/sass.rb +9 -8
- data/lib/rouge/lexers/sass/common.rb +41 -40
- data/lib/rouge/lexers/scala.rb +67 -40
- data/lib/rouge/lexers/scheme.rb +19 -18
- data/lib/rouge/lexers/scss.rb +4 -3
- data/lib/rouge/lexers/sed.rb +31 -30
- data/lib/rouge/lexers/shell.rb +67 -55
- data/lib/rouge/lexers/sieve.rb +10 -9
- data/lib/rouge/lexers/slice.rb +32 -0
- data/lib/rouge/lexers/slim.rb +27 -26
- data/lib/rouge/lexers/smalltalk.rb +34 -33
- data/lib/rouge/lexers/smarty.rb +20 -19
- data/lib/rouge/lexers/sml.rb +68 -67
- data/lib/rouge/lexers/solidity.rb +185 -0
- data/lib/rouge/lexers/sparql.rb +129 -0
- data/lib/rouge/lexers/sqf.rb +109 -0
- data/lib/rouge/lexers/sqf/commands.rb +15 -0
- data/lib/rouge/lexers/sql.rb +47 -26
- data/lib/rouge/lexers/supercollider.rb +116 -0
- data/lib/rouge/lexers/swift.rb +49 -44
- data/lib/rouge/lexers/tap.rb +22 -20
- data/lib/rouge/lexers/tcl.rb +28 -27
- data/lib/rouge/lexers/terraform.rb +37 -13
- data/lib/rouge/lexers/tex.rb +20 -19
- data/lib/rouge/lexers/toml.rb +59 -20
- data/lib/rouge/lexers/tsx.rb +1 -0
- data/lib/rouge/lexers/ttcn3.rb +119 -0
- data/lib/rouge/lexers/tulip.rb +38 -36
- data/lib/rouge/lexers/turtle.rb +36 -38
- data/lib/rouge/lexers/twig.rb +1 -0
- data/lib/rouge/lexers/typescript.rb +12 -0
- data/lib/rouge/lexers/typescript/common.rb +1 -0
- data/lib/rouge/lexers/vala.rb +19 -18
- data/lib/rouge/lexers/varnish.rb +168 -0
- data/lib/rouge/lexers/vb.rb +28 -27
- data/lib/rouge/lexers/verilog.rb +27 -28
- data/lib/rouge/lexers/vhdl.rb +12 -11
- data/lib/rouge/lexers/viml.rb +15 -14
- data/lib/rouge/lexers/viml/keywords.rb +2 -0
- data/lib/rouge/lexers/vue.rb +15 -10
- data/lib/rouge/lexers/wollok.rb +27 -26
- data/lib/rouge/lexers/xml.rb +18 -21
- data/lib/rouge/lexers/xojo.rb +61 -0
- data/lib/rouge/lexers/xpath.rb +332 -0
- data/lib/rouge/lexers/xquery.rb +145 -0
- data/lib/rouge/lexers/yaml.rb +64 -61
- data/lib/rouge/lexers/yang.rb +147 -0
- data/lib/rouge/plugins/redcarpet.rb +9 -2
- data/lib/rouge/regex_lexer.rb +27 -25
- data/lib/rouge/template_lexer.rb +1 -0
- data/lib/rouge/tex_theme_renderer.rb +132 -0
- data/lib/rouge/text_analyzer.rb +1 -0
- data/lib/rouge/theme.rb +5 -0
- data/lib/rouge/themes/base16.rb +1 -0
- data/lib/rouge/themes/bw.rb +41 -0
- data/lib/rouge/themes/colorful.rb +1 -0
- data/lib/rouge/themes/github.rb +1 -0
- data/lib/rouge/themes/gruvbox.rb +1 -0
- data/lib/rouge/themes/igor_pro.rb +1 -0
- data/lib/rouge/themes/magritte.rb +78 -0
- data/lib/rouge/themes/molokai.rb +1 -0
- data/lib/rouge/themes/monokai.rb +1 -0
- data/lib/rouge/themes/monokai_sublime.rb +4 -1
- data/lib/rouge/themes/pastie.rb +2 -1
- data/lib/rouge/themes/thankful_eyes.rb +2 -1
- data/lib/rouge/themes/tulip.rb +2 -1
- data/lib/rouge/token.rb +31 -22
- data/lib/rouge/util.rb +3 -2
- data/lib/rouge/version.rb +2 -1
- data/rouge.gemspec +6 -3
- metadata +130 -8
- data/lib/rouge/lexers/apache/keywords.yml +0 -764
- data/lib/rouge/lexers/lasso/keywords.yml +0 -446
data/lib/rouge/themes/molokai.rb
CHANGED
data/lib/rouge/themes/monokai.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
2
4
|
module Rouge
|
3
5
|
module Themes
|
4
6
|
class MonokaiSublime < CSSTheme
|
@@ -9,6 +11,7 @@ module Rouge
|
|
9
11
|
palette :bright_pink => '#f92672'
|
10
12
|
palette :carmine => '#960050'
|
11
13
|
palette :dark => '#49483e'
|
14
|
+
palette :dark_graphite => '#272822'
|
12
15
|
palette :dark_grey => '#888888'
|
13
16
|
palette :dark_red => '#aa0000'
|
14
17
|
palette :dimgrey => '#75715e'
|
@@ -78,7 +81,7 @@ module Rouge
|
|
78
81
|
Name::Variable,
|
79
82
|
Text::Whitespace,
|
80
83
|
Text,
|
81
|
-
Name, :fg => :white
|
84
|
+
Name, :fg => :white, :bg => :dark_graphite
|
82
85
|
style Operator::Word,
|
83
86
|
Name::Tag,
|
84
87
|
Keyword,
|
data/lib/rouge/themes/pastie.rb
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Rouge
|
4
5
|
module Themes
|
5
6
|
# A port of the pastie style from Pygments.
|
6
7
|
# See https://bitbucket.org/birkenfeld/pygments-main/src/default/pygments/styles/pastie.py
|
7
8
|
class Pastie < CSSTheme
|
8
|
-
name 'pastie'
|
9
|
+
name 'pastie'
|
9
10
|
|
10
11
|
style Comment, :fg => '#888888'
|
11
12
|
style Comment::Preproc, :fg => '#cc0000', :bold => true
|
@@ -1,4 +1,5 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Rouge
|
4
5
|
module Themes
|
@@ -28,7 +29,7 @@ module Rouge
|
|
28
29
|
style Generic::Prompt, :fg => :chilly, :bold => true
|
29
30
|
|
30
31
|
style Comment, :fg => :cool_as_ice, :italic => true
|
31
|
-
style Comment::Preproc, :fg => :go_get_it, :bold => true
|
32
|
+
style Comment::Preproc, :fg => :go_get_it, :bold => true
|
32
33
|
style Error, :fg => :aluminum1, :bg => :scarletred2
|
33
34
|
style Generic::Error, :fg => :scarletred2, :italic => true, :bold => true
|
34
35
|
style Keyword, :fg => :sandy, :bold => true
|
data/lib/rouge/themes/tulip.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Rouge
|
4
5
|
module Themes
|
@@ -23,7 +24,7 @@ module Rouge
|
|
23
24
|
style Text, :fg => :white, :bg => :dark_purple
|
24
25
|
|
25
26
|
style Comment, :fg => :gray, :italic => true
|
26
|
-
style Comment::Preproc, :fg => :lgreen, :bold => true
|
27
|
+
style Comment::Preproc, :fg => :lgreen, :bold => true
|
27
28
|
style Error,
|
28
29
|
Generic::Error, :fg => :white, :bg => :red
|
29
30
|
style Keyword, :fg => :yellow, :bold => true
|
data/lib/rouge/token.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Rouge
|
4
5
|
class Token
|
@@ -79,8 +80,9 @@ module Rouge
|
|
79
80
|
token :Whitespace, 'w'
|
80
81
|
end
|
81
82
|
|
82
|
-
token :
|
83
|
-
token :
|
83
|
+
token :Escape, 'esc'
|
84
|
+
token :Error, 'err'
|
85
|
+
token :Other, 'x'
|
84
86
|
|
85
87
|
token :Keyword, 'k' do
|
86
88
|
token :Constant, 'kc'
|
@@ -102,7 +104,9 @@ module Rouge
|
|
102
104
|
token :Decorator, 'nd'
|
103
105
|
token :Entity, 'ni'
|
104
106
|
token :Exception, 'ne'
|
105
|
-
token :Function, 'nf'
|
107
|
+
token :Function, 'nf' do
|
108
|
+
token :Magic, 'fm'
|
109
|
+
end
|
106
110
|
token :Property, 'py'
|
107
111
|
token :Label, 'nl'
|
108
112
|
token :Namespace, 'nn'
|
@@ -112,34 +116,37 @@ module Rouge
|
|
112
116
|
token :Class, 'vc'
|
113
117
|
token :Global, 'vg'
|
114
118
|
token :Instance, 'vi'
|
119
|
+
token :Magic, 'vm'
|
115
120
|
end
|
116
121
|
end
|
117
122
|
|
118
123
|
token :Literal, 'l' do
|
119
124
|
token :Date, 'ld'
|
120
125
|
|
121
|
-
token :String,
|
122
|
-
token :
|
123
|
-
token :
|
124
|
-
token :
|
125
|
-
token :
|
126
|
-
token :
|
127
|
-
token :
|
128
|
-
token :
|
129
|
-
token :
|
130
|
-
token :
|
131
|
-
token :
|
132
|
-
token :
|
126
|
+
token :String, 's' do
|
127
|
+
token :Affix, 'sa'
|
128
|
+
token :Backtick, 'sb'
|
129
|
+
token :Char, 'sc'
|
130
|
+
token :Delimiter, 'dl'
|
131
|
+
token :Doc, 'sd'
|
132
|
+
token :Double, 's2'
|
133
|
+
token :Escape, 'se'
|
134
|
+
token :Heredoc, 'sh'
|
135
|
+
token :Interpol, 'si'
|
136
|
+
token :Other, 'sx'
|
137
|
+
token :Regex, 'sr'
|
138
|
+
token :Single, 's1'
|
139
|
+
token :Symbol, 'ss'
|
133
140
|
end
|
134
141
|
|
135
142
|
token :Number, 'm' do
|
143
|
+
token :Bin, 'mb'
|
136
144
|
token :Float, 'mf'
|
137
145
|
token :Hex, 'mh'
|
138
146
|
token :Integer, 'mi' do
|
139
147
|
token :Long, 'il'
|
140
148
|
end
|
141
149
|
token :Oct, 'mo'
|
142
|
-
token :Bin, 'mb'
|
143
150
|
token :Other, 'mx'
|
144
151
|
end
|
145
152
|
end
|
@@ -152,12 +159,14 @@ module Rouge
|
|
152
159
|
token :Indicator, 'pi'
|
153
160
|
end
|
154
161
|
|
155
|
-
token :Comment,
|
156
|
-
token :
|
157
|
-
token :
|
158
|
-
token :
|
159
|
-
token :
|
160
|
-
token :
|
162
|
+
token :Comment, 'c' do
|
163
|
+
token :Hashbang, 'ch'
|
164
|
+
token :Doc, 'cd'
|
165
|
+
token :Multiline, 'cm'
|
166
|
+
token :Preproc, 'cp'
|
167
|
+
token :PreprocFile, 'cpf'
|
168
|
+
token :Single, 'c1'
|
169
|
+
token :Special, 'cs'
|
161
170
|
end
|
162
171
|
|
163
172
|
token :Generic, 'g' do
|
data/lib/rouge/util.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# -*- coding: utf-8 -*- #
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
module Rouge
|
4
5
|
class InheritableHash < Hash
|
@@ -74,13 +75,13 @@ module Rouge
|
|
74
75
|
def starts_block(block_state)
|
75
76
|
@block_state = block_state
|
76
77
|
@block_indentation = @last_indentation || ''
|
77
|
-
puts " starts_block #{block_state.inspect}" if @debug
|
78
|
+
puts " starts_block: #{block_state.inspect}" if @debug
|
78
79
|
puts " block_indentation: #{@block_indentation.inspect}" if @debug
|
79
80
|
end
|
80
81
|
|
81
82
|
# handle a single indented line
|
82
83
|
def indentation(indent_str)
|
83
|
-
puts " indentation #{indent_str.inspect}" if @debug
|
84
|
+
puts " indentation: #{indent_str.inspect}" if @debug
|
84
85
|
puts " block_indentation: #{@block_indentation.inspect}" if @debug
|
85
86
|
@last_indentation = indent_str
|
86
87
|
|
data/lib/rouge/version.rb
CHANGED
data/rouge.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require './lib/rouge/version'
|
2
4
|
|
3
5
|
Gem::Specification.new do |s|
|
@@ -11,13 +13,14 @@ Gem::Specification.new do |s|
|
|
11
13
|
for pygments.
|
12
14
|
desc
|
13
15
|
s.homepage = "http://rouge.jneen.net/"
|
14
|
-
s.rubyforge_project = "rouge"
|
15
16
|
s.files = Dir['Gemfile', 'LICENSE', 'rouge.gemspec', 'lib/**/*.rb', 'lib/**/*.yml', 'bin/rougify', 'lib/rouge/demos/*']
|
16
17
|
s.executables = %w(rougify)
|
17
18
|
s.licenses = ['MIT', 'BSD-2-Clause']
|
18
19
|
s.required_ruby_version = '>= 2.0'
|
19
20
|
s.metadata = {
|
20
|
-
|
21
|
-
|
21
|
+
"bug_tracker_uri" => "https://github.com/rouge-ruby/rouge/issues",
|
22
|
+
"changelog_uri" => "https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md",
|
23
|
+
"documentation_uri" => "https://rouge-ruby.github.io/docs/",
|
24
|
+
"source_code_uri" => "https://github.com/rouge-ruby/rouge"
|
22
25
|
}
|
23
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rouge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeanine Adkisson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
|
14
14
|
email:
|
@@ -25,17 +25,26 @@ files:
|
|
25
25
|
- lib/rouge/cli.rb
|
26
26
|
- lib/rouge/demos/abap
|
27
27
|
- lib/rouge/demos/actionscript
|
28
|
+
- lib/rouge/demos/ada
|
28
29
|
- lib/rouge/demos/apache
|
30
|
+
- lib/rouge/demos/apex
|
29
31
|
- lib/rouge/demos/apiblueprint
|
30
32
|
- lib/rouge/demos/applescript
|
33
|
+
- lib/rouge/demos/armasm
|
31
34
|
- lib/rouge/demos/awk
|
35
|
+
- lib/rouge/demos/batchfile
|
36
|
+
- lib/rouge/demos/bbcbasic
|
32
37
|
- lib/rouge/demos/biml
|
38
|
+
- lib/rouge/demos/bpf
|
39
|
+
- lib/rouge/demos/brainfuck
|
33
40
|
- lib/rouge/demos/bsl
|
34
41
|
- lib/rouge/demos/c
|
35
42
|
- lib/rouge/demos/ceylon
|
36
43
|
- lib/rouge/demos/cfscript
|
44
|
+
- lib/rouge/demos/clean
|
37
45
|
- lib/rouge/demos/clojure
|
38
46
|
- lib/rouge/demos/cmake
|
47
|
+
- lib/rouge/demos/cmhg
|
39
48
|
- lib/rouge/demos/coffeescript
|
40
49
|
- lib/rouge/demos/common_lisp
|
41
50
|
- lib/rouge/demos/conf
|
@@ -45,20 +54,33 @@ files:
|
|
45
54
|
- lib/rouge/demos/crystal
|
46
55
|
- lib/rouge/demos/csharp
|
47
56
|
- lib/rouge/demos/css
|
57
|
+
- lib/rouge/demos/csvs
|
58
|
+
- lib/rouge/demos/cuda
|
59
|
+
- lib/rouge/demos/cypher
|
60
|
+
- lib/rouge/demos/cython
|
48
61
|
- lib/rouge/demos/d
|
49
62
|
- lib/rouge/demos/dart
|
63
|
+
- lib/rouge/demos/datastudio
|
50
64
|
- lib/rouge/demos/diff
|
51
65
|
- lib/rouge/demos/digdag
|
52
66
|
- lib/rouge/demos/docker
|
53
67
|
- lib/rouge/demos/dot
|
68
|
+
- lib/rouge/demos/ecl
|
69
|
+
- lib/rouge/demos/eex
|
54
70
|
- lib/rouge/demos/eiffel
|
55
71
|
- lib/rouge/demos/elixir
|
56
72
|
- lib/rouge/demos/elm
|
73
|
+
- lib/rouge/demos/epp
|
57
74
|
- lib/rouge/demos/erb
|
58
75
|
- lib/rouge/demos/erlang
|
76
|
+
- lib/rouge/demos/escape
|
59
77
|
- lib/rouge/demos/factor
|
60
78
|
- lib/rouge/demos/fortran
|
79
|
+
- lib/rouge/demos/freefem
|
61
80
|
- lib/rouge/demos/fsharp
|
81
|
+
- lib/rouge/demos/gdscript
|
82
|
+
- lib/rouge/demos/ghc-cmm
|
83
|
+
- lib/rouge/demos/ghc-core
|
62
84
|
- lib/rouge/demos/gherkin
|
63
85
|
- lib/rouge/demos/glsl
|
64
86
|
- lib/rouge/demos/go
|
@@ -69,7 +91,10 @@ files:
|
|
69
91
|
- lib/rouge/demos/haml
|
70
92
|
- lib/rouge/demos/handlebars
|
71
93
|
- lib/rouge/demos/haskell
|
94
|
+
- lib/rouge/demos/haxe
|
72
95
|
- lib/rouge/demos/hcl
|
96
|
+
- lib/rouge/demos/hocon
|
97
|
+
- lib/rouge/demos/hql
|
73
98
|
- lib/rouge/demos/html
|
74
99
|
- lib/rouge/demos/http
|
75
100
|
- lib/rouge/demos/hylang
|
@@ -79,12 +104,15 @@ files:
|
|
79
104
|
- lib/rouge/demos/io
|
80
105
|
- lib/rouge/demos/irb
|
81
106
|
- lib/rouge/demos/irb_output
|
107
|
+
- lib/rouge/demos/isbl
|
82
108
|
- lib/rouge/demos/java
|
83
109
|
- lib/rouge/demos/javascript
|
84
110
|
- lib/rouge/demos/jinja
|
111
|
+
- lib/rouge/demos/jsl
|
85
112
|
- lib/rouge/demos/json
|
86
113
|
- lib/rouge/demos/json-doc
|
87
114
|
- lib/rouge/demos/jsonnet
|
115
|
+
- lib/rouge/demos/jsp
|
88
116
|
- lib/rouge/demos/jsx
|
89
117
|
- lib/rouge/demos/julia
|
90
118
|
- lib/rouge/demos/kotlin
|
@@ -94,18 +122,30 @@ files:
|
|
94
122
|
- lib/rouge/demos/literate_haskell
|
95
123
|
- lib/rouge/demos/llvm
|
96
124
|
- lib/rouge/demos/lua
|
125
|
+
- lib/rouge/demos/lustre
|
126
|
+
- lib/rouge/demos/lutin
|
127
|
+
- lib/rouge/demos/m68k
|
128
|
+
- lib/rouge/demos/magik
|
97
129
|
- lib/rouge/demos/make
|
98
130
|
- lib/rouge/demos/markdown
|
131
|
+
- lib/rouge/demos/mason
|
132
|
+
- lib/rouge/demos/mathematica
|
99
133
|
- lib/rouge/demos/matlab
|
134
|
+
- lib/rouge/demos/minizinc
|
100
135
|
- lib/rouge/demos/moonscript
|
101
136
|
- lib/rouge/demos/mosel
|
137
|
+
- lib/rouge/demos/msgtrans
|
102
138
|
- lib/rouge/demos/mxml
|
103
139
|
- lib/rouge/demos/nasm
|
140
|
+
- lib/rouge/demos/nesasm
|
104
141
|
- lib/rouge/demos/nginx
|
105
142
|
- lib/rouge/demos/nim
|
106
143
|
- lib/rouge/demos/nix
|
107
144
|
- lib/rouge/demos/objective_c
|
145
|
+
- lib/rouge/demos/objective_cpp
|
108
146
|
- lib/rouge/demos/ocaml
|
147
|
+
- lib/rouge/demos/openedge
|
148
|
+
- lib/rouge/demos/opentype_feature_file
|
109
149
|
- lib/rouge/demos/pascal
|
110
150
|
- lib/rouge/demos/perl
|
111
151
|
- lib/rouge/demos/php
|
@@ -124,8 +164,12 @@ files:
|
|
124
164
|
- lib/rouge/demos/qml
|
125
165
|
- lib/rouge/demos/r
|
126
166
|
- lib/rouge/demos/racket
|
167
|
+
- lib/rouge/demos/reasonml
|
168
|
+
- lib/rouge/demos/rego
|
169
|
+
- lib/rouge/demos/robot_framework
|
127
170
|
- lib/rouge/demos/ruby
|
128
171
|
- lib/rouge/demos/rust
|
172
|
+
- lib/rouge/demos/sas
|
129
173
|
- lib/rouge/demos/sass
|
130
174
|
- lib/rouge/demos/scala
|
131
175
|
- lib/rouge/demos/scheme
|
@@ -133,11 +177,16 @@ files:
|
|
133
177
|
- lib/rouge/demos/sed
|
134
178
|
- lib/rouge/demos/shell
|
135
179
|
- lib/rouge/demos/sieve
|
180
|
+
- lib/rouge/demos/slice
|
136
181
|
- lib/rouge/demos/slim
|
137
182
|
- lib/rouge/demos/smalltalk
|
138
183
|
- lib/rouge/demos/smarty
|
139
184
|
- lib/rouge/demos/sml
|
185
|
+
- lib/rouge/demos/solidity
|
186
|
+
- lib/rouge/demos/sparql
|
187
|
+
- lib/rouge/demos/sqf
|
140
188
|
- lib/rouge/demos/sql
|
189
|
+
- lib/rouge/demos/supercollider
|
141
190
|
- lib/rouge/demos/swift
|
142
191
|
- lib/rouge/demos/tap
|
143
192
|
- lib/rouge/demos/tcl
|
@@ -145,28 +194,37 @@ files:
|
|
145
194
|
- lib/rouge/demos/tex
|
146
195
|
- lib/rouge/demos/toml
|
147
196
|
- lib/rouge/demos/tsx
|
197
|
+
- lib/rouge/demos/ttcn3
|
148
198
|
- lib/rouge/demos/tulip
|
149
199
|
- lib/rouge/demos/turtle
|
150
200
|
- lib/rouge/demos/twig
|
151
201
|
- lib/rouge/demos/typescript
|
152
202
|
- lib/rouge/demos/vala
|
153
203
|
- lib/rouge/demos/vb
|
204
|
+
- lib/rouge/demos/vcl
|
154
205
|
- lib/rouge/demos/verilog
|
155
206
|
- lib/rouge/demos/vhdl
|
156
207
|
- lib/rouge/demos/viml
|
157
208
|
- lib/rouge/demos/vue
|
158
209
|
- lib/rouge/demos/wollok
|
159
210
|
- lib/rouge/demos/xml
|
211
|
+
- lib/rouge/demos/xojo
|
212
|
+
- lib/rouge/demos/xpath
|
213
|
+
- lib/rouge/demos/xquery
|
160
214
|
- lib/rouge/demos/yaml
|
215
|
+
- lib/rouge/demos/yang
|
161
216
|
- lib/rouge/formatter.rb
|
162
217
|
- lib/rouge/formatters/html.rb
|
163
218
|
- lib/rouge/formatters/html_inline.rb
|
164
219
|
- lib/rouge/formatters/html_legacy.rb
|
220
|
+
- lib/rouge/formatters/html_line_table.rb
|
165
221
|
- lib/rouge/formatters/html_linewise.rb
|
166
222
|
- lib/rouge/formatters/html_pygments.rb
|
167
223
|
- lib/rouge/formatters/html_table.rb
|
168
224
|
- lib/rouge/formatters/null.rb
|
169
225
|
- lib/rouge/formatters/terminal256.rb
|
226
|
+
- lib/rouge/formatters/terminal_truecolor.rb
|
227
|
+
- lib/rouge/formatters/tex.rb
|
170
228
|
- lib/rouge/guesser.rb
|
171
229
|
- lib/rouge/guessers/disambiguation.rb
|
172
230
|
- lib/rouge/guessers/filename.rb
|
@@ -178,18 +236,27 @@ files:
|
|
178
236
|
- lib/rouge/lexer.rb
|
179
237
|
- lib/rouge/lexers/abap.rb
|
180
238
|
- lib/rouge/lexers/actionscript.rb
|
239
|
+
- lib/rouge/lexers/ada.rb
|
181
240
|
- lib/rouge/lexers/apache.rb
|
182
|
-
- lib/rouge/lexers/apache/keywords.
|
241
|
+
- lib/rouge/lexers/apache/keywords.rb
|
242
|
+
- lib/rouge/lexers/apex.rb
|
183
243
|
- lib/rouge/lexers/apiblueprint.rb
|
184
244
|
- lib/rouge/lexers/apple_script.rb
|
245
|
+
- lib/rouge/lexers/armasm.rb
|
185
246
|
- lib/rouge/lexers/awk.rb
|
247
|
+
- lib/rouge/lexers/batchfile.rb
|
248
|
+
- lib/rouge/lexers/bbcbasic.rb
|
186
249
|
- lib/rouge/lexers/biml.rb
|
250
|
+
- lib/rouge/lexers/bpf.rb
|
251
|
+
- lib/rouge/lexers/brainfuck.rb
|
187
252
|
- lib/rouge/lexers/bsl.rb
|
188
253
|
- lib/rouge/lexers/c.rb
|
189
254
|
- lib/rouge/lexers/ceylon.rb
|
190
255
|
- lib/rouge/lexers/cfscript.rb
|
256
|
+
- lib/rouge/lexers/clean.rb
|
191
257
|
- lib/rouge/lexers/clojure.rb
|
192
258
|
- lib/rouge/lexers/cmake.rb
|
259
|
+
- lib/rouge/lexers/cmhg.rb
|
193
260
|
- lib/rouge/lexers/coffeescript.rb
|
194
261
|
- lib/rouge/lexers/common_lisp.rb
|
195
262
|
- lib/rouge/lexers/conf.rb
|
@@ -199,20 +266,33 @@ files:
|
|
199
266
|
- lib/rouge/lexers/crystal.rb
|
200
267
|
- lib/rouge/lexers/csharp.rb
|
201
268
|
- lib/rouge/lexers/css.rb
|
269
|
+
- lib/rouge/lexers/csvs.rb
|
270
|
+
- lib/rouge/lexers/cuda.rb
|
271
|
+
- lib/rouge/lexers/cypher.rb
|
272
|
+
- lib/rouge/lexers/cython.rb
|
202
273
|
- lib/rouge/lexers/d.rb
|
203
274
|
- lib/rouge/lexers/dart.rb
|
275
|
+
- lib/rouge/lexers/datastudio.rb
|
204
276
|
- lib/rouge/lexers/diff.rb
|
205
277
|
- lib/rouge/lexers/digdag.rb
|
206
278
|
- lib/rouge/lexers/docker.rb
|
207
279
|
- lib/rouge/lexers/dot.rb
|
280
|
+
- lib/rouge/lexers/ecl.rb
|
281
|
+
- lib/rouge/lexers/eex.rb
|
208
282
|
- lib/rouge/lexers/eiffel.rb
|
209
283
|
- lib/rouge/lexers/elixir.rb
|
210
284
|
- lib/rouge/lexers/elm.rb
|
285
|
+
- lib/rouge/lexers/epp.rb
|
211
286
|
- lib/rouge/lexers/erb.rb
|
212
287
|
- lib/rouge/lexers/erlang.rb
|
288
|
+
- lib/rouge/lexers/escape.rb
|
213
289
|
- lib/rouge/lexers/factor.rb
|
214
290
|
- lib/rouge/lexers/fortran.rb
|
291
|
+
- lib/rouge/lexers/freefem.rb
|
215
292
|
- lib/rouge/lexers/fsharp.rb
|
293
|
+
- lib/rouge/lexers/gdscript.rb
|
294
|
+
- lib/rouge/lexers/ghc_cmm.rb
|
295
|
+
- lib/rouge/lexers/ghc_core.rb
|
216
296
|
- lib/rouge/lexers/gherkin.rb
|
217
297
|
- lib/rouge/lexers/gherkin/keywords.rb
|
218
298
|
- lib/rouge/lexers/glsl.rb
|
@@ -224,7 +304,10 @@ files:
|
|
224
304
|
- lib/rouge/lexers/haml.rb
|
225
305
|
- lib/rouge/lexers/handlebars.rb
|
226
306
|
- lib/rouge/lexers/haskell.rb
|
307
|
+
- lib/rouge/lexers/haxe.rb
|
227
308
|
- lib/rouge/lexers/hcl.rb
|
309
|
+
- lib/rouge/lexers/hocon.rb
|
310
|
+
- lib/rouge/lexers/hql.rb
|
228
311
|
- lib/rouge/lexers/html.rb
|
229
312
|
- lib/rouge/lexers/http.rb
|
230
313
|
- lib/rouge/lexers/hylang.rb
|
@@ -233,36 +316,55 @@ files:
|
|
233
316
|
- lib/rouge/lexers/ini.rb
|
234
317
|
- lib/rouge/lexers/io.rb
|
235
318
|
- lib/rouge/lexers/irb.rb
|
319
|
+
- lib/rouge/lexers/isbl.rb
|
320
|
+
- lib/rouge/lexers/isbl/builtins.rb
|
236
321
|
- lib/rouge/lexers/java.rb
|
237
322
|
- lib/rouge/lexers/javascript.rb
|
238
323
|
- lib/rouge/lexers/jinja.rb
|
324
|
+
- lib/rouge/lexers/jsl.rb
|
239
325
|
- lib/rouge/lexers/json.rb
|
240
326
|
- lib/rouge/lexers/json_doc.rb
|
241
327
|
- lib/rouge/lexers/jsonnet.rb
|
328
|
+
- lib/rouge/lexers/jsp.rb
|
242
329
|
- lib/rouge/lexers/jsx.rb
|
243
330
|
- lib/rouge/lexers/julia.rb
|
244
331
|
- lib/rouge/lexers/kotlin.rb
|
245
332
|
- lib/rouge/lexers/lasso.rb
|
246
|
-
- lib/rouge/lexers/lasso/keywords.
|
333
|
+
- lib/rouge/lexers/lasso/keywords.rb
|
247
334
|
- lib/rouge/lexers/liquid.rb
|
248
335
|
- lib/rouge/lexers/literate_coffeescript.rb
|
249
336
|
- lib/rouge/lexers/literate_haskell.rb
|
250
337
|
- lib/rouge/lexers/llvm.rb
|
251
338
|
- lib/rouge/lexers/lua.rb
|
252
339
|
- lib/rouge/lexers/lua/builtins.rb
|
340
|
+
- lib/rouge/lexers/lustre.rb
|
341
|
+
- lib/rouge/lexers/lutin.rb
|
342
|
+
- lib/rouge/lexers/m68k.rb
|
343
|
+
- lib/rouge/lexers/magik.rb
|
253
344
|
- lib/rouge/lexers/make.rb
|
254
345
|
- lib/rouge/lexers/markdown.rb
|
346
|
+
- lib/rouge/lexers/mason.rb
|
347
|
+
- lib/rouge/lexers/mathematica.rb
|
348
|
+
- lib/rouge/lexers/mathematica/builtins.rb
|
255
349
|
- lib/rouge/lexers/matlab.rb
|
256
350
|
- lib/rouge/lexers/matlab/builtins.rb
|
351
|
+
- lib/rouge/lexers/minizinc.rb
|
257
352
|
- lib/rouge/lexers/moonscript.rb
|
258
353
|
- lib/rouge/lexers/mosel.rb
|
354
|
+
- lib/rouge/lexers/msgtrans.rb
|
259
355
|
- lib/rouge/lexers/mxml.rb
|
260
356
|
- lib/rouge/lexers/nasm.rb
|
357
|
+
- lib/rouge/lexers/nesasm.rb
|
261
358
|
- lib/rouge/lexers/nginx.rb
|
262
359
|
- lib/rouge/lexers/nim.rb
|
263
360
|
- lib/rouge/lexers/nix.rb
|
264
361
|
- lib/rouge/lexers/objective_c.rb
|
362
|
+
- lib/rouge/lexers/objective_c/common.rb
|
363
|
+
- lib/rouge/lexers/objective_cpp.rb
|
265
364
|
- lib/rouge/lexers/ocaml.rb
|
365
|
+
- lib/rouge/lexers/ocaml/common.rb
|
366
|
+
- lib/rouge/lexers/openedge.rb
|
367
|
+
- lib/rouge/lexers/opentype_feature_file.rb
|
266
368
|
- lib/rouge/lexers/pascal.rb
|
267
369
|
- lib/rouge/lexers/perl.rb
|
268
370
|
- lib/rouge/lexers/php.rb
|
@@ -282,8 +384,12 @@ files:
|
|
282
384
|
- lib/rouge/lexers/qml.rb
|
283
385
|
- lib/rouge/lexers/r.rb
|
284
386
|
- lib/rouge/lexers/racket.rb
|
387
|
+
- lib/rouge/lexers/reasonml.rb
|
388
|
+
- lib/rouge/lexers/rego.rb
|
389
|
+
- lib/rouge/lexers/robot_framework.rb
|
285
390
|
- lib/rouge/lexers/ruby.rb
|
286
391
|
- lib/rouge/lexers/rust.rb
|
392
|
+
- lib/rouge/lexers/sas.rb
|
287
393
|
- lib/rouge/lexers/sass.rb
|
288
394
|
- lib/rouge/lexers/sass/common.rb
|
289
395
|
- lib/rouge/lexers/scala.rb
|
@@ -292,11 +398,17 @@ files:
|
|
292
398
|
- lib/rouge/lexers/sed.rb
|
293
399
|
- lib/rouge/lexers/shell.rb
|
294
400
|
- lib/rouge/lexers/sieve.rb
|
401
|
+
- lib/rouge/lexers/slice.rb
|
295
402
|
- lib/rouge/lexers/slim.rb
|
296
403
|
- lib/rouge/lexers/smalltalk.rb
|
297
404
|
- lib/rouge/lexers/smarty.rb
|
298
405
|
- lib/rouge/lexers/sml.rb
|
406
|
+
- lib/rouge/lexers/solidity.rb
|
407
|
+
- lib/rouge/lexers/sparql.rb
|
408
|
+
- lib/rouge/lexers/sqf.rb
|
409
|
+
- lib/rouge/lexers/sqf/commands.rb
|
299
410
|
- lib/rouge/lexers/sql.rb
|
411
|
+
- lib/rouge/lexers/supercollider.rb
|
300
412
|
- lib/rouge/lexers/swift.rb
|
301
413
|
- lib/rouge/lexers/tap.rb
|
302
414
|
- lib/rouge/lexers/tcl.rb
|
@@ -304,12 +416,14 @@ files:
|
|
304
416
|
- lib/rouge/lexers/tex.rb
|
305
417
|
- lib/rouge/lexers/toml.rb
|
306
418
|
- lib/rouge/lexers/tsx.rb
|
419
|
+
- lib/rouge/lexers/ttcn3.rb
|
307
420
|
- lib/rouge/lexers/tulip.rb
|
308
421
|
- lib/rouge/lexers/turtle.rb
|
309
422
|
- lib/rouge/lexers/twig.rb
|
310
423
|
- lib/rouge/lexers/typescript.rb
|
311
424
|
- lib/rouge/lexers/typescript/common.rb
|
312
425
|
- lib/rouge/lexers/vala.rb
|
426
|
+
- lib/rouge/lexers/varnish.rb
|
313
427
|
- lib/rouge/lexers/vb.rb
|
314
428
|
- lib/rouge/lexers/verilog.rb
|
315
429
|
- lib/rouge/lexers/vhdl.rb
|
@@ -318,17 +432,24 @@ files:
|
|
318
432
|
- lib/rouge/lexers/vue.rb
|
319
433
|
- lib/rouge/lexers/wollok.rb
|
320
434
|
- lib/rouge/lexers/xml.rb
|
435
|
+
- lib/rouge/lexers/xojo.rb
|
436
|
+
- lib/rouge/lexers/xpath.rb
|
437
|
+
- lib/rouge/lexers/xquery.rb
|
321
438
|
- lib/rouge/lexers/yaml.rb
|
439
|
+
- lib/rouge/lexers/yang.rb
|
322
440
|
- lib/rouge/plugins/redcarpet.rb
|
323
441
|
- lib/rouge/regex_lexer.rb
|
324
442
|
- lib/rouge/template_lexer.rb
|
443
|
+
- lib/rouge/tex_theme_renderer.rb
|
325
444
|
- lib/rouge/text_analyzer.rb
|
326
445
|
- lib/rouge/theme.rb
|
327
446
|
- lib/rouge/themes/base16.rb
|
447
|
+
- lib/rouge/themes/bw.rb
|
328
448
|
- lib/rouge/themes/colorful.rb
|
329
449
|
- lib/rouge/themes/github.rb
|
330
450
|
- lib/rouge/themes/gruvbox.rb
|
331
451
|
- lib/rouge/themes/igor_pro.rb
|
452
|
+
- lib/rouge/themes/magritte.rb
|
332
453
|
- lib/rouge/themes/molokai.rb
|
333
454
|
- lib/rouge/themes/monokai.rb
|
334
455
|
- lib/rouge/themes/monokai_sublime.rb
|
@@ -344,8 +465,10 @@ licenses:
|
|
344
465
|
- MIT
|
345
466
|
- BSD-2-Clause
|
346
467
|
metadata:
|
347
|
-
|
348
|
-
changelog_uri: https://github.com/
|
468
|
+
bug_tracker_uri: https://github.com/rouge-ruby/rouge/issues
|
469
|
+
changelog_uri: https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md
|
470
|
+
documentation_uri: https://rouge-ruby.github.io/docs/
|
471
|
+
source_code_uri: https://github.com/rouge-ruby/rouge
|
349
472
|
post_install_message:
|
350
473
|
rdoc_options: []
|
351
474
|
require_paths:
|
@@ -361,8 +484,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
361
484
|
- !ruby/object:Gem::Version
|
362
485
|
version: '0'
|
363
486
|
requirements: []
|
364
|
-
|
365
|
-
rubygems_version: 2.4.5.1
|
487
|
+
rubygems_version: 3.1.2
|
366
488
|
signing_key:
|
367
489
|
specification_version: 4
|
368
490
|
summary: A pure-ruby colorizer based on pygments
|