diff --git a/lib/rouge/lexers/json_doc.rb b/lib/rouge/lexers/json_doc.rb index d27bd7bac8..c243709100 100644 --- a/lib/rouge/lexers/json_doc.rb +++ b/lib/rouge/lexers/json_doc.rb @@ -8,6 +8,7 @@ module Lexers class JSONDOC < JSON desc "JavaScript Object Notation with extensions for documentation" tag 'json-doc' + aliases 'jsonc' prepend :name do rule %r/([$\w]+)(\s*)(:)/ do