highlight.js has trouble automatically recognizing ASCIIdoc (the content format for Fedora Docs, significantly), often mis-identifying it as SQL code based on the vast number of SQL keywords that frequently appear in plain text.
(Examples: here, here, and many more easily found by browsing the Docs repos.)
Since .adoc files should always be highlighted as ASCIIdoc, this adds an extension mapping to the default syntax overrides.
highlight.js has trouble automatically recognizing ASCIIdoc (the content format for Fedora Docs, significantly), often mis-identifying it as SQL code based on the vast number of SQL keywords that frequently appear in plain text.
(Examples: here, here, and many more easily found by browsing the Docs repos.)
Since
.adocfiles should always be highlighted as ASCIIdoc, this adds an extension mapping to the default syntax overrides.