Add 'name' property
Since highlightjs/highlight.js#2400 (merged as highlightjs/highlight.js@65d46b3), a 'name' attribute is supported for language grammars.
This commit is contained in:
parent
921ef57449
commit
78f00fcef1
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ var module = module ? module : {}; // shim for browser use
|
|||
|
||||
function hljsDefineRpmSpecfile(hljs) {
|
||||
return {
|
||||
name: "rpm-specfile",
|
||||
aliases: ['rpm', 'spec', 'rpm-spec', 'specfile'],
|
||||
contains: [
|
||||
hljs.COMMENT('%dnl'),
|
||||
|
|
Loading…
Add table
Reference in a new issue