@codingame/monaco-vscode-markdown-math-default-extension 1.85.2 → 1.85.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +35 -30
- package/package.json +2 -2
- package/resources/README.md +5 -0
- package/resources/extension.js +2 -0
- package/resources/extension.js.map +1 -0
- package/resources/icon.png +0 -0
- package/resources/katex.js +271 -0
- package/resources/md-math-block.tmLanguage.json +1 -0
- package/resources/md-math-inline.tmLanguage.json +1 -0
- package/resources/md-math.tmLanguage.json +1 -0
- package/resources/package.json +1 -0
- package/resources/package.nls.json +1 -0
- package/extension.js +0 -19408
- package/extension.js.map +0 -1
- package/md-math-block.tmLanguage.json +0 -85
- package/md-math-inline.tmLanguage.json +0 -79
- package/md-math.tmLanguage.json +0 -107
- package/package.nls.json +0 -6
- /package/{KaTeX_AMS-Regular.woff2 → resources/KaTeX_AMS-Regular.woff2} +0 -0
- /package/{KaTeX_Caligraphic-Bold.woff2 → resources/KaTeX_Caligraphic-Bold.woff2} +0 -0
- /package/{KaTeX_Caligraphic-Regular.woff2 → resources/KaTeX_Caligraphic-Regular.woff2} +0 -0
- /package/{KaTeX_Fraktur-Bold.woff2 → resources/KaTeX_Fraktur-Bold.woff2} +0 -0
- /package/{KaTeX_Fraktur-Regular.woff2 → resources/KaTeX_Fraktur-Regular.woff2} +0 -0
- /package/{KaTeX_Main-Bold.woff2 → resources/KaTeX_Main-Bold.woff2} +0 -0
- /package/{KaTeX_Main-BoldItalic.woff2 → resources/KaTeX_Main-BoldItalic.woff2} +0 -0
- /package/{KaTeX_Main-Italic.woff2 → resources/KaTeX_Main-Italic.woff2} +0 -0
- /package/{KaTeX_Main-Regular.woff2 → resources/KaTeX_Main-Regular.woff2} +0 -0
- /package/{KaTeX_Math-BoldItalic.woff2 → resources/KaTeX_Math-BoldItalic.woff2} +0 -0
- /package/{KaTeX_Math-Italic.woff2 → resources/KaTeX_Math-Italic.woff2} +0 -0
- /package/{KaTeX_SansSerif-Bold.woff2 → resources/KaTeX_SansSerif-Bold.woff2} +0 -0
- /package/{KaTeX_SansSerif-Italic.woff2 → resources/KaTeX_SansSerif-Italic.woff2} +0 -0
- /package/{KaTeX_SansSerif-Regular.woff2 → resources/KaTeX_SansSerif-Regular.woff2} +0 -0
- /package/{KaTeX_Script-Regular.woff2 → resources/KaTeX_Script-Regular.woff2} +0 -0
- /package/{KaTeX_Size1-Regular.woff2 → resources/KaTeX_Size1-Regular.woff2} +0 -0
- /package/{KaTeX_Size2-Regular.woff2 → resources/KaTeX_Size2-Regular.woff2} +0 -0
- /package/{KaTeX_Size3-Regular.woff2 → resources/KaTeX_Size3-Regular.woff2} +0 -0
- /package/{KaTeX_Size4-Regular.woff2 → resources/KaTeX_Size4-Regular.woff2} +0 -0
- /package/{KaTeX_Typewriter-Regular.woff2 → resources/KaTeX_Typewriter-Regular.woff2} +0 -0
- /package/{index.css → resources/index.css} +0 -0
- /package/{katex.min.css → resources/katex.min.css} +0 -0
package/index.js
CHANGED
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
import { registerExtension } from 'vscode/extensions';
|
|
2
2
|
|
|
3
|
-
var manifest = {name:"markdown-math",displayName:"%displayName%",description:"%description%",version:"1.0.0",icon:"icon.png",publisher:"vscode",license:"MIT",aiKey:"0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",engines:{vscode:"^1.54.0"},categories:["Other"],capabilities:{virtualWorkspaces:true,untrustedWorkspaces:{supported:true}},main:undefined,browser:"./dist/browser/extension",activationEvents:[],contributes:{languages:[{id:"markdown-math",aliases:[]}],grammars:[{language:"markdown-math",scopeName:"text.html.markdown.math",path:"./syntaxes/md-math.tmLanguage.json"},{scopeName:"markdown.math.block",path:"./syntaxes/md-math-block.tmLanguage.json",injectTo:["text.html.markdown"],embeddedLanguages:{"meta.embedded.math.markdown":"latex"}},{scopeName:"markdown.math.inline",path:"./syntaxes/md-math-inline.tmLanguage.json",injectTo:["text.html.markdown"],embeddedLanguages:{"meta.embedded.math.markdown":"latex","punctuation.definition.math.end.markdown":"latex"}}],notebookRenderer:[{id:"vscode.markdown-it-katex-extension",displayName:"Markdown it KaTeX renderer",entrypoint:{"extends":"vscode.markdown-it-renderer",path:"./notebook-out/katex.js"}}],"markdown.markdownItPlugins":true,"markdown.previewStyles":["./notebook-out/katex.min.css","./preview-styles/index.css"],configuration:[{title:"Markdown Math",properties:{"markdown.math.enabled":{type:"boolean","default":true,description:"%config.markdown.math.enabled%"},"markdown.math.macros":{type:"object",additionalProperties:{type:"string"},"default":{},description:"%config.markdown.math.macros%",scope:"resource"}}}]},
|
|
3
|
+
var manifest = {name:"markdown-math",displayName:"%displayName%",description:"%description%",version:"1.0.0",icon:"icon.png",publisher:"vscode",license:"MIT",aiKey:"0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",engines:{vscode:"^1.54.0"},categories:["Other"],capabilities:{virtualWorkspaces:true,untrustedWorkspaces:{supported:true}},main:undefined,browser:"./dist/browser/extension",activationEvents:[],contributes:{languages:[{id:"markdown-math",aliases:[]}],grammars:[{language:"markdown-math",scopeName:"text.html.markdown.math",path:"./syntaxes/md-math.tmLanguage.json"},{scopeName:"markdown.math.block",path:"./syntaxes/md-math-block.tmLanguage.json",injectTo:["text.html.markdown"],embeddedLanguages:{"meta.embedded.math.markdown":"latex"}},{scopeName:"markdown.math.inline",path:"./syntaxes/md-math-inline.tmLanguage.json",injectTo:["text.html.markdown"],embeddedLanguages:{"meta.embedded.math.markdown":"latex","punctuation.definition.math.end.markdown":"latex"}}],notebookRenderer:[{id:"vscode.markdown-it-katex-extension",displayName:"Markdown it KaTeX renderer",entrypoint:{"extends":"vscode.markdown-it-renderer",path:"./notebook-out/katex.js"}}],"markdown.markdownItPlugins":true,"markdown.previewStyles":["./notebook-out/katex.min.css","./preview-styles/index.css"],configuration:[{title:"Markdown Math",properties:{"markdown.math.enabled":{type:"boolean","default":true,description:"%config.markdown.math.enabled%"},"markdown.math.macros":{type:"object",additionalProperties:{type:"string"},"default":{},description:"%config.markdown.math.macros%",scope:"resource"}}}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest);
|
|
6
|
-
registerFileUrl('
|
|
7
|
-
registerFileUrl('
|
|
8
|
-
registerFileUrl('
|
|
9
|
-
registerFileUrl('
|
|
10
|
-
registerFileUrl('
|
|
11
|
-
registerFileUrl('
|
|
12
|
-
registerFileUrl('
|
|
13
|
-
registerFileUrl('
|
|
14
|
-
registerFileUrl('
|
|
15
|
-
registerFileUrl('
|
|
16
|
-
registerFileUrl('
|
|
17
|
-
registerFileUrl('
|
|
18
|
-
registerFileUrl('
|
|
19
|
-
registerFileUrl('
|
|
20
|
-
registerFileUrl('
|
|
21
|
-
registerFileUrl('
|
|
22
|
-
registerFileUrl('
|
|
23
|
-
registerFileUrl('
|
|
24
|
-
registerFileUrl('
|
|
25
|
-
registerFileUrl('
|
|
26
|
-
registerFileUrl('
|
|
27
|
-
registerFileUrl('
|
|
28
|
-
registerFileUrl('
|
|
29
|
-
registerFileUrl('
|
|
30
|
-
registerFileUrl('
|
|
31
|
-
registerFileUrl('
|
|
32
|
-
registerFileUrl('
|
|
33
|
-
registerFileUrl('
|
|
34
|
-
registerFileUrl('
|
|
6
|
+
registerFileUrl('README.md', new URL('./resources/README.md', import.meta.url).toString(), 'text/markdown');
|
|
7
|
+
registerFileUrl('icon.png', new URL('./resources/icon.png', import.meta.url).toString(), 'image/png');
|
|
8
|
+
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(), 'application/json');
|
|
9
|
+
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(), 'application/json');
|
|
10
|
+
registerFileUrl('notebook-out/katex.js', new URL('./resources/katex.js', import.meta.url).toString(), 'application/javascript');
|
|
11
|
+
registerFileUrl('notebook-out/katex', new URL('./resources/katex.js', import.meta.url).toString(), 'application/javascript');
|
|
12
|
+
registerFileUrl('notebook-out/katex.min.css', new URL('./resources/katex.min.css', import.meta.url).toString(), 'text/css');
|
|
13
|
+
registerFileUrl('preview-styles/index.css', new URL('./resources/index.css', import.meta.url).toString(), 'text/css');
|
|
14
|
+
registerFileUrl('syntaxes/md-math-block.tmLanguage.json', new URL('./resources/md-math-block.tmLanguage.json', import.meta.url).toString(), 'application/json');
|
|
15
|
+
registerFileUrl('syntaxes/md-math-inline.tmLanguage.json', new URL('./resources/md-math-inline.tmLanguage.json', import.meta.url).toString(), 'application/json');
|
|
16
|
+
registerFileUrl('syntaxes/md-math.tmLanguage.json', new URL('./resources/md-math.tmLanguage.json', import.meta.url).toString(), 'application/json');
|
|
17
|
+
registerFileUrl('dist/browser/extension.js', new URL('./resources/extension.js', import.meta.url).toString(), 'application/javascript');
|
|
18
|
+
registerFileUrl('dist/browser/extension', new URL('./resources/extension.js', import.meta.url).toString(), 'application/javascript');
|
|
19
|
+
registerFileUrl('dist/browser/extension.js.map', new URL('./resources/extension.js.map', import.meta.url).toString(), 'application/json');
|
|
20
|
+
registerFileUrl('notebook-out/fonts/KaTeX_AMS-Regular.woff2', new URL('./resources/KaTeX_AMS-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
21
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Caligraphic-Bold.woff2', new URL('./resources/KaTeX_Caligraphic-Bold.woff2', import.meta.url).toString(), 'font/woff2');
|
|
22
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Caligraphic-Regular.woff2', new URL('./resources/KaTeX_Caligraphic-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
23
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Fraktur-Bold.woff2', new URL('./resources/KaTeX_Fraktur-Bold.woff2', import.meta.url).toString(), 'font/woff2');
|
|
24
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Fraktur-Regular.woff2', new URL('./resources/KaTeX_Fraktur-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
25
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Main-Bold.woff2', new URL('./resources/KaTeX_Main-Bold.woff2', import.meta.url).toString(), 'font/woff2');
|
|
26
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Main-BoldItalic.woff2', new URL('./resources/KaTeX_Main-BoldItalic.woff2', import.meta.url).toString(), 'font/woff2');
|
|
27
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Main-Italic.woff2', new URL('./resources/KaTeX_Main-Italic.woff2', import.meta.url).toString(), 'font/woff2');
|
|
28
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Main-Regular.woff2', new URL('./resources/KaTeX_Main-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
29
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Math-BoldItalic.woff2', new URL('./resources/KaTeX_Math-BoldItalic.woff2', import.meta.url).toString(), 'font/woff2');
|
|
30
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Math-Italic.woff2', new URL('./resources/KaTeX_Math-Italic.woff2', import.meta.url).toString(), 'font/woff2');
|
|
31
|
+
registerFileUrl('notebook-out/fonts/KaTeX_SansSerif-Bold.woff2', new URL('./resources/KaTeX_SansSerif-Bold.woff2', import.meta.url).toString(), 'font/woff2');
|
|
32
|
+
registerFileUrl('notebook-out/fonts/KaTeX_SansSerif-Italic.woff2', new URL('./resources/KaTeX_SansSerif-Italic.woff2', import.meta.url).toString(), 'font/woff2');
|
|
33
|
+
registerFileUrl('notebook-out/fonts/KaTeX_SansSerif-Regular.woff2', new URL('./resources/KaTeX_SansSerif-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
34
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Script-Regular.woff2', new URL('./resources/KaTeX_Script-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
35
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Size1-Regular.woff2', new URL('./resources/KaTeX_Size1-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
36
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Size2-Regular.woff2', new URL('./resources/KaTeX_Size2-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
37
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Size3-Regular.woff2', new URL('./resources/KaTeX_Size3-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
38
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Size4-Regular.woff2', new URL('./resources/KaTeX_Size4-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
39
|
+
registerFileUrl('notebook-out/fonts/KaTeX_Typewriter-Regular.woff2', new URL('./resources/KaTeX_Typewriter-Regular.woff2', import.meta.url).toString(), 'font/woff2');
|
|
35
40
|
|
|
36
41
|
export { whenReady };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-markdown-math-default-extension",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.85.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.85.3"
|
|
22
22
|
}
|
|
23
23
|
}
|