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:
Frank Dana 2023-02-15 23:09:48 -05:00 committed by GitHub
parent 921ef57449
commit 78f00fcef1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'),