@codingame/monaco-vscode-markdown-math-default-extension 1.81.8-next.1 → 1.82.0-next.0

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.
Files changed (3) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +3 -1
  3. package/package.json +4 -3
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const whenReady: () => Promise<void>
2
+ export { whenReady }
package/index.js CHANGED
@@ -2,7 +2,7 @@ import { registerExtension } from 'vscode/extensions';
2
2
 
3
3
  var manifest = {name:"markdown-math",displayName:"Markdown Math",description:"Adds math support to Markdown in notebooks.",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:"Enable/disable rendering math in the built-in Markdown preview."},"markdown.math.macros":{type:"object",additionalProperties:{type:"string"},"default":{},description:"A collection of custom macros. Each macro is a key-value pair where the key is a new command name and the value is the expansion of the macro.",scope:"resource"}}}]},scripts:{compile:"npm run build-notebook",watch:"npm run build-notebook","build-notebook":"node ./esbuild"},dependencies:{"@vscode/markdown-it-katex":"^1.0.0"},devDependencies:{"@types/markdown-it":"^0.0.0","@types/vscode-notebook-renderer":"^1.60.0"},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
4
4
 
5
- const { registerFileUrl } = registerExtension(manifest);
5
+ const { registerFileUrl, whenReady } = registerExtension(manifest);
6
6
  registerFileUrl('./syntaxes/md-math.tmLanguage.json', new URL('./md-math.tmLanguage.json', import.meta.url).toString(), 'application/json');
7
7
  registerFileUrl('./syntaxes/md-math-block.tmLanguage.json', new URL('./md-math-block.tmLanguage.json', import.meta.url).toString(), 'application/json');
8
8
  registerFileUrl('./syntaxes/md-math-inline.tmLanguage.json', new URL('./md-math-inline.tmLanguage.json', import.meta.url).toString(), 'application/json');
@@ -31,3 +31,5 @@ registerFileUrl('./preview-styles/index.css', new URL('./index.css', import.meta
31
31
  registerFileUrl('./dist/browser/extension', new URL('./extension.js', import.meta.url).toString(), 'text/javascript');
32
32
  registerFileUrl('./dist/browser/extension.js', new URL('./extension.js', import.meta.url).toString(), 'text/javascript');
33
33
  registerFileUrl('dist/browser/extension.js.map', new URL('./extension.js.map', import.meta.url).toString(), 'application/json');
34
+
35
+ 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.81.8-next.1",
3
+ "version": "1.82.0-next.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,14 +9,15 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/CodinGame/monaco-vscode-api"
12
+ "url": "git+https://github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
16
16
  "description": "Default VSCode extension designed to be used with @codingame/monaco-vscode-api",
17
17
  "main": "index.js",
18
18
  "module": "index.js",
19
+ "types": "index.d.ts",
19
20
  "dependencies": {
20
- "vscode": "npm:@codingame/monaco-vscode-api@1.81.8-next.1"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.82.0-next.0"
21
22
  }
22
23
  }