kylin-code/extensions/markdown-math/package.json

104 lines
2.5 KiB
JSON
Raw Permalink Normal View History

2022-06-14 14:37:10 +08:00
{
"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": []
}
],
"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"
}
}
],
"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 Math",
"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": "mjbvz/markdown-it-katex"
},
"devDependencies": {
"@types/markdown-it": "^0.0.0",
"@types/vscode-notebook-renderer": "^1.60.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}