|
| 1 | +{ |
| 2 | + "name": "markdown-all-in-one", |
| 3 | + "displayName": "Markdown All in One", |
| 4 | + "description": "All you need to write markdown", |
| 5 | + "version": "0.0.1", |
| 6 | + "publisher": "yzhang", |
| 7 | + "engines": { |
| 8 | + "vscode": "^1.5.0" |
| 9 | + }, |
| 10 | + "categories": [ |
| 11 | + "Other" |
| 12 | + ], |
| 13 | + "activationEvents": [ |
| 14 | + "onLanguage:markdown" |
| 15 | + ], |
| 16 | + "main": "./out/src/extension", |
| 17 | + "contributes": { |
| 18 | + "commands": [ |
| 19 | + { |
| 20 | + "command": "extension.markdown.editing.toggleBold", |
| 21 | + "title": "Markdown: Toggle Bold" |
| 22 | + }, |
| 23 | + { |
| 24 | + "command": "extension.markdown.editing.toggleItalic", |
| 25 | + "title": "Markdown: Toggle Italic" |
| 26 | + }, |
| 27 | + { |
| 28 | + "command": "extension.markdown.editing.toggleCodeSpan", |
| 29 | + "title": "Markdown: Toggle Code Span" |
| 30 | + }, |
| 31 | + { |
| 32 | + "command": "extension.markdown.toc.create", |
| 33 | + "title": "Markdown: Create Table of Contents" |
| 34 | + } |
| 35 | + ], |
| 36 | + "keybindings": [ |
| 37 | + { |
| 38 | + "command": "extension.markdown.editing.toggleBold", |
| 39 | + "key": "ctrl+b", |
| 40 | + "mac": "cmd+b", |
| 41 | + "when": "editorTextFocus && editorLangId == markdown" |
| 42 | + }, |
| 43 | + { |
| 44 | + "command": "extension.markdown.editing.toggleItalic", |
| 45 | + "key": "ctrl+i", |
| 46 | + "mac": "cmd+i", |
| 47 | + "when": "editorTextFocus && editorLangId == markdown" |
| 48 | + }, |
| 49 | + { |
| 50 | + "command": "extension.markdown.editing.toggleCodeSpan", |
| 51 | + "key": "ctrl+m ctrl+c", |
| 52 | + "mac": "cmd+m cmd+c", |
| 53 | + "when": "editorTextFocus && editorLangId == markdown" |
| 54 | + } |
| 55 | + ] |
| 56 | + }, |
| 57 | + "configuration": { |
| 58 | + "type": "object", |
| 59 | + "title": "Markdown All in One", |
| 60 | + "properties": { |
| 61 | + "markdown.toc.depthFrom": { |
| 62 | + "type": "number", |
| 63 | + "default": 1, |
| 64 | + "description": "Depth control [1-6]." |
| 65 | + }, |
| 66 | + "markdown.toc.depthTo": { |
| 67 | + "type": "number", |
| 68 | + "default": 6, |
| 69 | + "description": "Depth control [1-6]." |
| 70 | + }, |
| 71 | + "markdown.toc.insertAnchor": { |
| 72 | + "type": "boolean", |
| 73 | + "default": false, |
| 74 | + "description": "Auto insert anchor for link." |
| 75 | + }, |
| 76 | + "markdown.toc.withLinks": { |
| 77 | + "type": "boolean", |
| 78 | + "default": true, |
| 79 | + "description": "Auto insert link." |
| 80 | + }, |
| 81 | + "markdown.toc.orderedList": { |
| 82 | + "type": "boolean", |
| 83 | + "default": false, |
| 84 | + "description": "Use ordered list (1. ..., 2. ...)." |
| 85 | + }, |
| 86 | + "markdown.toc.updateOnSave": { |
| 87 | + "type": "boolean", |
| 88 | + "default": true, |
| 89 | + "description": "Auto update on save." |
| 90 | + }, |
| 91 | + "markdown.toc.anchorMode": { |
| 92 | + "type": "string", |
| 93 | + "default": "github.com", |
| 94 | + "description": "anchor mode.", |
| 95 | + "enum": [ |
| 96 | + "github.com", |
| 97 | + "nodejs.org", |
| 98 | + "bitbucket.org", |
| 99 | + "ghost.org", |
| 100 | + "gitlab.com" |
| 101 | + ] |
| 102 | + } |
| 103 | + } |
| 104 | + }, |
| 105 | + "scripts": { |
| 106 | + "vscode:prepublish": "tsc -p ./", |
| 107 | + "compile": "tsc -watch -p ./", |
| 108 | + "postinstall": "node ./node_modules/vscode/bin/install" |
| 109 | + }, |
| 110 | + "dependencies": { |
| 111 | + }, |
| 112 | + "devDependencies": { |
| 113 | + "typescript": "^2.0.3", |
| 114 | + "vscode": "^1.0.0", |
| 115 | + "mocha": "^2.3.3", |
| 116 | + "@types/node": "^6.0.40", |
| 117 | + "@types/mocha": "^2.2.32" |
| 118 | + } |
| 119 | +} |
0 commit comments