solorice/vscodium/extensions/yzhang.markdown-all-in-one-3.5.0/package.json
2022-04-28 21:17:01 +03:00

578 lines
18 KiB
JSON

{
"name": "markdown-all-in-one",
"displayName": "%ext.displayName%",
"description": "%ext.description%",
"icon": "images/Markdown-mark.png",
"version": "3.5.0",
"publisher": "yzhang",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Programming Languages",
"Formatters",
"Other"
],
"keywords": [
"markdown"
],
"bugs": {
"url": "https://github.com/yzhang-gh/vscode-markdown/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/yzhang-gh/vscode-markdown"
},
"license": "MIT",
"activationEvents": [
"onLanguage:markdown",
"onCommand:markdown.extension.printToHtmlBatch",
"workspaceContains:README.md"
],
"main": "./dist/extension",
"contributes": {
"colors": [
{
"id": "markdown.extension.editor.codeSpan.background",
"description": "Background color of code spans in the Markdown editor.",
"defaults": {
"dark": "#00000000",
"light": "#00000000",
"highContrast": "#00000000"
}
},
{
"id": "markdown.extension.editor.codeSpan.border",
"description": "Border color of code spans in the Markdown editor.",
"defaults": {
"dark": "editor.selectionBackground",
"light": "editor.selectionBackground",
"highContrast": "editor.selectionBackground"
}
},
{
"id": "markdown.extension.editor.formattingMark.foreground",
"description": "Color of formatting marks (paragraphs, hard line breaks, links, etc.) in the Markdown editor.",
"defaults": {
"dark": "editorWhitespace.foreground",
"light": "editorWhitespace.foreground",
"highContrast": "diffEditor.insertedTextBorder"
}
},
{
"id": "markdown.extension.editor.trailingSpace.background",
"description": "Background color of trailing space (U+0020) characters in the Markdown editor.",
"defaults": {
"dark": "diffEditor.diagonalFill",
"light": "diffEditor.diagonalFill",
"highContrast": "editorWhitespace.foreground"
}
}
],
"commands": [
{
"command": "markdown.extension.toc.create",
"enablement": "editorLangId == markdown",
"title": "%command.toc.create.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.toc.update",
"enablement": "editorLangId == markdown",
"title": "%command.toc.update.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.toc.addSecNumbers",
"enablement": "editorLangId == markdown",
"title": "%command.toc.addSecNumbers.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.toc.removeSecNumbers",
"enablement": "editorLangId == markdown",
"title": "%command.toc.removeSecNumbers.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.printToHtml",
"enablement": "editorLangId == markdown",
"title": "%command.printToHtml.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.printToHtmlBatch",
"enablement": "workspaceFolderCount >= 1",
"title": "%command.printToHtmlBatch.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.editing.toggleCodeSpan",
"enablement": "editorLangId == markdown",
"title": "%command.editing.toggleCodeSpan.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.editing.toggleMath",
"enablement": "editorLangId == markdown",
"title": "%command.editing.toggleMath.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.editing.toggleMathReverse",
"enablement": "editorLangId == markdown",
"title": "%command.editing.toggleMathReverse.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.editing.toggleList",
"enablement": "editorLangId == markdown",
"title": "%command.editing.toggleList.title%",
"category": "Markdown All in One"
},
{
"command": "markdown.extension.editing.toggleCodeBlock",
"enablement": "editorLangId == markdown",
"title": "%command.editing.toggleCodeBlock.title%",
"category": "Markdown All in One"
}
],
"keybindings": [
{
"command": "markdown.extension.editing.toggleBold",
"key": "ctrl+b",
"mac": "cmd+b",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown.extension.editing.toggleItalic",
"key": "ctrl+i",
"mac": "cmd+i",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown.extension.editing.toggleStrikethrough",
"key": "alt+s",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !isMac"
},
{
"command": "markdown.extension.editing.toggleHeadingUp",
"key": "ctrl+shift+]",
"mac": "ctrl+shift+]",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown.extension.editing.toggleHeadingDown",
"key": "ctrl+shift+[",
"mac": "ctrl+shift+[",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown.extension.editing.toggleMath",
"key": "ctrl+m",
"mac": "cmd+m",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown.extension.onEnterKey",
"key": "enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !editorHasMultipleSelections && vim.mode != 'Normal' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine' && vim.mode != 'SearchInProgressMode' && vim.mode != 'CommandlineInProgress' && vim.mode != 'Replace' && vim.mode != 'EasyMotionMode' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'SurroundInputMode'"
},
{
"command": "markdown.extension.onCtrlEnterKey",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !editorHasMultipleSelections"
},
{
"command": "markdown.extension.onShiftEnterKey",
"key": "shift+enter",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !editorHasMultipleSelections"
},
{
"command": "markdown.extension.onTabKey",
"key": "tab",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !inlineSuggestionVisible && !editorHasMultipleSelections && !editorTabMovesFocus && !inSnippetMode && !hasSnippetCompletions && !hasOtherSuggestions"
},
{
"command": "markdown.extension.onShiftTabKey",
"key": "shift+tab",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !editorHasMultipleSelections && !editorTabMovesFocus && !inSnippetMode && !hasSnippetCompletions && !hasOtherSuggestions"
},
{
"command": "markdown.extension.onBackspaceKey",
"key": "backspace",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible && !editorHasMultipleSelections && vim.mode != 'Normal' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine' && vim.mode != 'SearchInProgressMode' && vim.mode != 'CommandlineInProgress' && vim.mode != 'Replace' && vim.mode != 'EasyMotionMode' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'SurroundInputMode'"
},
{
"command": "markdown.extension.onMoveLineUp",
"key": "alt+up",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.onMoveLineDown",
"key": "alt+down",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.onCopyLineUp",
"win": "shift+alt+up",
"mac": "shift+alt+up",
"linux": "ctrl+shift+alt+up",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.onCopyLineDown",
"win": "shift+alt+down",
"mac": "shift+alt+down",
"linux": "ctrl+shift+alt+down",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.onIndentLines",
"key": "ctrl+]",
"mac": "cmd+]",
"when": "editorTextFocus && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.onOutdentLines",
"key": "ctrl+[",
"mac": "cmd+[",
"when": "editorTextFocus && editorLangId == markdown && !suggestWidgetVisible"
},
{
"command": "markdown.extension.checkTaskList",
"key": "alt+c",
"when": "editorTextFocus && editorLangId == markdown"
},
{
"command": "markdown.extension.closePreview",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "markdownPreviewFocus"
},
{
"command": "markdown.extension.closePreview",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "markdownPreviewFocus"
},
{
"command": "markdown.extension.editing.paste",
"key": "ctrl+v",
"mac": "cmd+v",
"when": "editorTextFocus && editorLangId == markdown && editorHasSelection"
}
],
"configuration": {
"type": "object",
"title": "%config.title%",
"properties": {
"markdown.extension.completion.respectVscodeSearchExclude": {
"type": "boolean",
"default": true,
"markdownDescription": "%config.completion.respectVscodeSearchExclude%",
"scope": "resource"
},
"markdown.extension.completion.root": {
"type": "string",
"default": "",
"description": "%config.completion.root%",
"scope": "resource"
},
"markdown.extension.italic.indicator": {
"type": "string",
"default": "*",
"markdownDescription": "%config.italic.indicator.description%",
"enum": [
"*",
"_"
]
},
"markdown.extension.katex.macros": {
"type": "object",
"default": {},
"description": "%config.katex.macros.description%"
},
"markdown.extension.list.indentationSize": {
"type": "string",
"enum": [
"adaptive",
"inherit"
],
"markdownEnumDescriptions": [
"%config.list.indentationSize.enumDescriptions.adaptive%",
"%config.list.indentationSize.enumDescriptions.inherit%"
],
"default": "adaptive",
"markdownDescription": "%config.list.indentationSize.description%",
"scope": "resource"
},
"markdown.extension.math.enabled": {
"type": "boolean",
"default": true,
"description": "%config.math.enabled%"
},
"markdown.extension.orderedList.autoRenumber": {
"type": "boolean",
"default": true,
"description": "%config.orderedList.autoRenumber.description%"
},
"markdown.extension.orderedList.marker": {
"type": "string",
"default": "ordered",
"description": "%config.orderedList.marker.description%",
"enum": [
"one",
"ordered"
],
"markdownEnumDescriptions": [
"%config.orderedList.marker.enumDescriptions.one%",
"%config.orderedList.marker.enumDescriptions.ordered%"
]
},
"markdown.extension.preview.autoShowPreviewToSide": {
"type": "boolean",
"default": false,
"description": "%config.preview.autoShowPreviewToSide.description%"
},
"markdown.extension.print.absoluteImgPath": {
"type": "boolean",
"default": true,
"description": "%config.print.absoluteImgPath.description%",
"scope": "resource"
},
"markdown.extension.print.imgToBase64": {
"type": "boolean",
"default": false,
"description": "%config.print.imgToBase64.description%",
"scope": "resource"
},
"markdown.extension.print.includeVscodeStylesheets": {
"type": "boolean",
"default": true,
"description": "%config.print.includeVscodeStylesheets%"
},
"markdown.extension.print.onFileSave": {
"type": "boolean",
"default": false,
"description": "%config.print.onFileSave.description%",
"scope": "resource"
},
"markdown.extension.print.theme": {
"type": "string",
"default": "light",
"enum": [
"light",
"dark"
],
"description": "%config.print.theme%",
"scope": "resource"
},
"markdown.extension.print.validateUrls": {
"type": "boolean",
"default": true,
"description": "%config.print.validateUrls.description%"
},
"markdown.extension.syntax.decorations": {
"type": "boolean",
"default": null,
"markdownDeprecationMessage": "%config.syntax.decorations.description%"
},
"markdown.extension.syntax.decorationFileSizeLimit": {
"type": "number",
"default": 50000,
"description": "%config.syntax.decorationFileSizeLimit.description%"
},
"markdown.extension.syntax.plainTheme": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.syntax.plainTheme.description%"
},
"markdown.extension.tableFormatter.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "%config.tableFormatter.enabled.description%"
},
"markdown.extension.tableFormatter.normalizeIndentation": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.tableFormatter.normalizeIndentation.description%"
},
"markdown.extension.tableFormatter.delimiterRowNoPadding": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.tableFormatter.delimiterRowNoPadding.description%"
},
"markdown.extension.theming.decoration.renderCodeSpan": {
"type": "boolean",
"default": true,
"markdownDescription": "%config.theming.decoration.renderCodeSpan.description%",
"scope": "application"
},
"markdown.extension.theming.decoration.renderHardLineBreak": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.theming.decoration.renderHardLineBreak.description%",
"scope": "application"
},
"markdown.extension.theming.decoration.renderLink": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.theming.decoration.renderLink.description%",
"scope": "application"
},
"markdown.extension.theming.decoration.renderParagraph": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.theming.decoration.renderParagraph.description%",
"scope": "application"
},
"markdown.extension.theming.decoration.renderStrikethrough": {
"type": "boolean",
"default": true,
"markdownDescription": "%config.theming.decoration.renderStrikethrough.description%",
"scope": "application"
},
"markdown.extension.theming.decoration.renderTrailingSpace": {
"type": "boolean",
"default": false,
"markdownDescription": "%config.theming.decoration.renderTrailingSpace.description%",
"scope": "application"
},
"markdown.extension.toc.levels": {
"type": "string",
"default": "1..6",
"markdownDescription": "%config.toc.levels.description%",
"pattern": "^[1-6]\\.\\.[1-6]$"
},
"markdown.extension.toc.omittedFromToc": {
"type": "object",
"default": {},
"description": "%config.toc.omittedFromToc.description%"
},
"markdown.extension.toc.orderedList": {
"type": "boolean",
"default": false,
"description": "%config.toc.orderedList.description%"
},
"markdown.extension.toc.plaintext": {
"type": "boolean",
"default": false,
"description": "%config.toc.plaintext.description%"
},
"markdown.extension.toc.slugifyMode": {
"type": "string",
"default": "github",
"markdownDescription": "%config.toc.slugifyMode.description%",
"enum": [
"github",
"azureDevops",
"bitbucket-cloud",
"gitea",
"gitlab",
"vscode"
],
"enumDescriptions": [
"GitHub",
"Azure DevOps",
"Bitbucket Cloud",
"Gitea",
"GitLab",
"Visual Studio Code"
]
},
"markdown.extension.toc.unorderedList.marker": {
"type": "string",
"default": "-",
"markdownDescription": "%config.toc.unorderedList.marker.description%",
"enum": [
"-",
"*",
"+"
]
},
"markdown.extension.toc.updateOnSave": {
"type": "boolean",
"default": true,
"description": "%config.toc.updateOnSave.description%"
}
}
},
"markdown.markdownItPlugins": true,
"markdown.previewStyles": [
"./media/checkbox.css",
"./node_modules/katex/dist/katex.min.css"
],
"grammars": [
{
"scopeName": "markdown.math_display",
"path": "./syntaxes/math_display.markdown.tmLanguage.json",
"injectTo": [
"text.html.markdown"
]
},
{
"scopeName": "markdown.math_inline",
"path": "./syntaxes/math_inline.markdown.tmLanguage.json",
"injectTo": [
"text.html.markdown"
]
},
{
"scopeName": "text.katex",
"path": "./syntaxes/katex.tmLanguage.json"
}
]
},
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "In virtual workspaces, some features may not work well."
}
},
"scripts": {
"vscode:prepublish": "node ./tools/prepublish.js",
"compile": "webpack --mode none",
"watch": "webpack --mode none --watch",
"test": "tsc -p ./ && node ./out/test/runTest.js",
"test-compile": "tsc -p ./"
},
"dependencies": {
"@neilsustc/markdown-it-katex": "^1.0.0",
"entities": "^3.0.1",
"grapheme-splitter": "^1.0.4",
"highlight.js": "^11.3.1",
"image-size": "^0.9.3",
"katex": "^0.15.1",
"markdown-it": "^12.2.0",
"markdown-it-task-lists": "^2.1.1",
"string-similarity": "^4.0.4"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/katex": "^0.11.1",
"@types/markdown-it": "^12.2.3",
"@types/mocha": "^9.0.0",
"@types/node": "~12.12.70",
"@types/string-similarity": "^4.0.0",
"@types/vscode": "~1.49.0",
"@vscode/test-electron": "^1.6.2",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"ts-loader": "^9.2.6",
"typescript": "~4.4.4",
"webpack": "~5.49.0",
"webpack-cli": "^4.9.1"
},
"__metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "36c8b41c-6ef6-4bf5-a5b7-65bef29b606f",
"publisherDisplayName": null,
"targetPlatform": "undefined",
"updated": true,
"isPreReleaseVersion": false,
"preRelease": false,
"installedTimestamp": 1651167289612
}
}