-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextension.json
51 lines (51 loc) · 1.57 KB
/
extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "Prism Highlight",
"version": "1.0",
"author": "[https://www.mediawiki.org/wiki/User:SciWhiz12 SciWhiz12] (forgecommunitywiki), [https://prismjs.com/#credits maintainers and contributors of Prism]",
"url": "https://github.com/forgecommunitywiki/mediawiki-extensions-PrismHighlight",
"license-name": "AGPL-3.0",
"description": "Allows to use the client-side syntax highlighter [https://prismjs.com Prism] in MediaWiki; derived from the [https://www.mediawiki.org/wiki/Extension:Highlightjs_Integration highlight.js Integration extension by Nikus Pokus]",
"type": "other",
"require": {
"MediaWiki": ">= 1.35"
},
"Hooks": {
"ParserFirstCallInit": [
"PrismHighlight::onParserFirstCallInit"
],
"BeforePageDisplay": [
"PrismHighlight::onBeforePageDisplay"
]
},
"AutoloadClasses": {
"PrismHighlight": "PrismHighlight.class.php"
},
"ResourceModules": {
"ext.PrismHighlight": {
"scripts": [
"prism/prism.js",
"init.js"
],
"styles": [
"prism/prism.css"
],
"targets": [ "desktop", "mobile" ]
}
},
"ResourceFileModulePaths": {
"localBasePath": ""
},
"config": {
"HighlightTags": [
"syntaxhighlight",
"source"
],
"LangMapping": {
"tsql": "sql",
"mysql": "sql",
"xaml": "xml",
"mediawiki": "markdown"
}
},
"manifest_version": 1
}