@codingame/monaco-vscode-markdown-math-default-extension 1.83.2 → 1.83.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { registerExtension } from 'vscode/extensions';
2
2
 
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"}};
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"}}}]},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
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');
@@ -31,5 +31,6 @@ 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
+ registerFileUrl('package.nls.json', new URL('./package.nls.json', import.meta.url).toString(), 'application/json');
34
35
 
35
36
  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.83.2",
3
+ "version": "1.83.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.83.2"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.3"
22
22
  }
23
23
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "displayName": "Markdown Math",
3
+ "description": "Adds math support to Markdown in notebooks.",
4
+ "config.markdown.math.enabled": "Enable/disable rendering math in the built-in Markdown preview.",
5
+ "config.markdown.math.macros": "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."
6
+ }