vscode/extensions/markdown-math/package.json
2021-06-29 22:37:19 -07:00

104 lines
2.5 KiB
JSON

{
"name": "markdown-math",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"icon": "icon.png",
"publisher": "vscode",
"license": "MIT",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Other"
],
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"main": "./out/extension",
"browser": "./dist/browser/extension",
"activationEvents": [],
"contributes": {
"languages": [
{
"id": "markdown-math",
"aliases": [],
"configuration": "./language-configuration.json"
}
],
"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": "markdown-math"
}
},
{
"scopeName": "markdown.math.inline",
"path": "./syntaxes/md-math-inline.tmLanguage.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.math.markdown": "markdown-math"
}
}
],
"notebookRenderer": [
{
"id": "markdownItRenderer-katex",
"displayName": "Markdown it KaTeX renderer",
"entrypoint": {
"extends": "markdownItRenderer",
"path": "./notebook-out/katex.js"
}
}
],
"markdown.markdownItPlugins": true,
"markdown.previewStyles": [
"./notebook-out/katex.min.css",
"./preview-styles/index.css"
],
"configuration": [
{
"title": "Markdown",
"properties": {
"markdown.math.enabled": {
"type": "boolean",
"default": true,
"description": "%config.markdown.math.enabled%"
}
}
}
]
},
"scripts": {
"compile": "npm run build-notebook",
"watch": "npm run build-notebook",
"build-notebook": "node ./esbuild"
},
"dependencies": {
"@iktakahiro/markdown-it-katex": "https://github.com/mjbvz/markdown-it-katex.git"
},
"devDependencies": {
"@types/markdown-it": "^0.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}