package.json 1.6 KB
Newer Older
E
Erich Gamma 已提交
1
{
K
kieferrm 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
	"name": "vscode-markdown",
	"displayName": "VS Code Markdown",
	"description": "Markdown for VS Code",
	"version": "0.2.0",
	"publisher": "Microsoft",
	"engines": {
		"vscode": "^1.0.0"
	},
	"main": "./out/extension",
	"categories": [
		"Languages"
	],
	"activationEvents": [
		"onCommand:extension.previewMarkdown",
		"onCommand:extension.previewMarkdownSide"
	],
	"contributes": {
		"languages": [
			{
				"id": "markdown",
				"aliases": [
					"Markdown",
					"markdown"
				],
				"extensions": [
					".md",
					".mdown",
					".markdown",
					".markdn"
				],
				"configuration": "./markdown.configuration.json"
			}
		],
		"grammars": [
			{
				"language": "markdown",
				"scopeName": "text.html.markdown",
				"path": "./syntaxes/markdown.tmLanguage"
			}
		],
		"commands": [
			{
				"command": "extension.previewMarkdown",
				"title": "%markdown.previewMarkdown.title%"
			},
			{
				"command": "extension.previewMarkdownSide",
				"title": "%markdown.previewMarkdownSide.title%"
			}
		],
		"keybindings": [
			{
				"command": "extension.previewMarkdown",
				"key": "shift+ctrl+v",
				"mac": "shift+cmd+v"
			},
			{
				"command": "extension.previewMarkdownSide",
				"key": "ctrl+k v",
				"mac": "cmd+k v"
			}
		],
		"snippets": [{
E
Erich Gamma 已提交
65 66 67
			"language": "markdown",
			"path": "./snippets/markdown.json"
		}]
K
kieferrm 已提交
68
	},
J
Johannes Rieken 已提交
69
	"scripts": {
K
kieferrm 已提交
70 71
		"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:markdown ./tsconfig.json"
	},
K
kieferrm 已提交
72 73 74 75 76
	"dependencies": {
		"highlight.js": "^9.3.0",
		"markdown-it": "^6.0.1",
		"markdown-it-named-headers": "0.0.4"
	}
E
Erich Gamma 已提交
77
}