[READ-ONLY] Mirror of https://github.com/mrgnw/copy-markdown-as-html. VS Code plugin which copies the selected markdown text to the clipboard as HTML
3.5 kB
101 lines
1{
2 "name": "copy-markdown-as-html",
3 "displayName": "Copy Markdown as HTML",
4 "description": "Copies the selected text from a markdown document to the clipboard as HTML.",
5 "icon": "icon.png",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/jerriep/copy-markdown-as-html"
9 },
10 "version": "1.1.0",
11 "publisher": "jerriepelser",
12 "engines": {
13 "vscode": "^1.0.0"
14 },
15 "categories": [
16 "Other"
17 ],
18 "activationEvents": [
19 "onCommand:extension.copyMarkdownAsHtml"
20 ],
21 "main": "./extension",
22 "contributes": {
23 "configuration": {
24 "type": "object",
25 "title": "Copy Markdown as HTML configuration",
26 "properties": {
27 "copyMarkdownAsHtml.html": {
28 "type": "boolean",
29 "default": false,
30 "description": "Enable HTML tags in source",
31 "enum": [
32 true,
33 false
34 ]
35 },
36 "copyMarkdownAsHtml.xhtmlOut": {
37 "type": "boolean",
38 "default": false,
39 "description": "Use '/' to close single tags (<br />). This is only for full CommonMark compatibility.",
40 "enum": [
41 true,
42 false
43 ]
44 },
45 "copyMarkdownAsHtml.breaks": {
46 "type": "boolean",
47 "default": false,
48 "description": "Convert '\\n' in paragraphs into <br>This is only for full CommonMark compatibility.",
49 "enum": [
50 true,
51 false
52 ]
53 },
54 "copyMarkdownAsHtml.langPrefix": {
55 "type": "string",
56 "default": "language-",
57 "description": "CSS language prefix for fenced blocks. Can be useful for external highlighters."
58 },
59 "copyMarkdownAsHtml.linkify": {
60 "type": "boolean",
61 "default": false,
62 "description": "Autoconvert URL-like text to links.",
63 "enum": [
64 true,
65 false
66 ]
67 },
68 "copyMarkdownAsHtml.typographer": {
69 "type": "boolean",
70 "default": false,
71 "description": "Enable some language-neutral replacement + quotes beautification.",
72 "enum": [
73 true,
74 false
75 ]
76 },
77 "copyMarkdownAsHtml.quotes": {
78 "type": "string",
79 "default": "“”‘’",
80 "description": "Double + single quotes replacement pairs, when typographer enabled, and smartquotes on."
81 }
82 }
83 },
84 "commands": [
85 {
86 "command": "extension.copyMarkdownAsHtml",
87 "title": "Markdown: Copy as HTML"
88 }
89 ]
90 },
91 "scripts": {
92 "postinstall": "node ./node_modules/vscode/bin/install"
93 },
94 "devDependencies": {
95 "vscode": "^0.11.0"
96 },
97 "dependencies": {
98 "clipboardy": "^1.2.3",
99 "markdown-it": "^8.4.1"
100 }
101}