forked from atom/markdown-preview
/
package.json
116 lines (116 loc) · 3.53 KB
/
package.json
1
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "markdown-it-preview",
"version": "0.2.5",
"main": "./lib/main",
"description": "Markdown Preview that supports MarkdownIt plugins on a per-project basis.",
"keywords": [
"markdown",
"markdown-it",
"commonmark"
],
"repository": "https://github.com/msimmer/markdown-it-preview.git",
"license": "MIT",
"engines": {
"atom": "*"
},
"dependencies": {
"dompurify": "^1.0.2",
"fs-plus": "^3.0.1",
"highlights": "^3.1.1",
"lodash": "^4.17.4",
"markdown-it": "^8.4.0",
"temp": "^0.8.1",
"wrench": "^1.5.9"
},
"devDependencies": {
"coffeelint": "^1.9.7"
},
"deserializers": {
"MarkdownPreviewView": "createMarkdownPreviewView"
},
"activationCommands": {
"atom-workspace": "markdown-it-preview:toggle"
},
"configSchema": {
"liveUpdate": {
"type": "boolean",
"default": true,
"description": "Re-render the preview as the contents of the source changes, without requiring the source buffer to be saved. If disabled, the preview is re-rendered only when the buffer is saved to disk."
},
"openPreviewInSplitPane": {
"type": "boolean",
"default": true,
"description": "Open the preview in a split pane. If disabled, the preview is opened in a new tab in the same pane."
},
"allowUnsafeProtocols": {
"type": "boolean",
"default": false,
"description": "Allow HTML attributes to use protocols normally considered unsafe such as `file://` and absolute paths on Windows."
},
"grammars": {
"type": "array",
"default": [
"source.gfm",
"source.litcoffee",
"text.html.basic",
"text.md",
"text.plain",
"text.plain.null-grammar"
],
"description": "List of scopes for languages for which previewing is enabled. See [this README](https://github.com/atom/spell-check#spell-check-package-) for more information on finding the correct scope for a specific language."
},
"useGitHubStyle": {
"title": "Use GitHub.com style",
"type": "boolean",
"default": false,
"description": "Use the same CSS styles for preview as the ones used on GitHub.com."
},
"html": {
"title": "Enable HTML",
"type": "boolean",
"default": false,
"description": "Enable HTML tags in source."
},
"xhtmlOut": {
"title": "Generate valid XHTML output",
"type": "boolean",
"default": false,
"description": "Explicitly close all self-closing HTML tags."
},
"breaks": {
"title": "Convert newlines to BR tags",
"type": "boolean",
"default": false,
"description": "Convert newlines in paragraphs into BR tags."
},
"langPrefix": {
"title": "Language prefix",
"type": "string",
"default": "lang-",
"description": "CSS language prefix for fenced blocks. Can be useful for external highlighters."
},
"linkify": {
"title": "Create links from URLs",
"type": "boolean",
"default": false,
"description": "Create A tags from URL-like text."
},
"typographer": {
"title": "Enable typographer",
"type": "boolean",
"default": false,
"description": "Enable some language-neutral replacement and quotes beautification."
},
"quotes": {
"title": "Quotation characters",
"type": "array",
"default": [
"“",
"”",
"‘",
"’"
],
"description": "Double and single quotes replacement pairs, when typographer enabled, and smartquotes on."
}
}
}