Improve a bit highligthjs detection (#2148)

* Improve a bit highligthjs detection

- Add a `js`-based detection
- Simplify the `script` pattern
- The `script` can now get the version

* Add a missing `?`
main
jvoisin 7 years ago committed by Elbert Alias
parent 80064f8e42
commit a64fa26eb1

@ -4098,8 +4098,11 @@
"cats": [
19
],
"js": {
"hljs.listLanguage": ""
},
"icon": "Highlight.js.png",
"script": "/highlight\\.js/[\\d.]+?/highlight\\.min\\.js",
"script": "/(?:([\\d.])+/)?highlight(?:\\.min)?\\.js\\;version:\\1",
"website": "https://highlightjs.org/"
},
"Highstock": {

Loading…
Cancel
Save