-
-
Notifications
You must be signed in to change notification settings - Fork 144
/
package.json
135 lines (135 loc) · 4.67 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "markdown-preview",
"version": "0.160.2",
"main": "./lib/main",
"description": "Open a rendered version of the Markdown in the current editor with `ctrl-shift-m`.",
"repository": "https://github.com/pulsar-edit/pulsar",
"license": "MIT",
"engines": {
"atom": "*",
"node": ">=12"
},
"scripts": {
"generate-github-markdown-css": "node scripts/generate-github-markdown-css.js"
},
"dependencies": {
"cheerio": "^1.0.0-rc.3",
"dedent": "^1.5.3",
"dompurify": "^2.0.17",
"emoji-images": "^0.1.1",
"fs-plus": "^3.0.0",
"github-markdown-css": "^5.5.1",
"marked": "5.0.3",
"morphdom": "^2.7.2",
"underscore-plus": "^1.0.0",
"yaml-front-matter": "^4.1.1"
},
"devDependencies": {
"temp": "^0.8.1"
},
"deserializers": {
"MarkdownPreviewView": "createMarkdownPreviewView"
},
"configSchema": {
"breakOnSingleNewline": {
"type": "boolean",
"order": 1,
"default": false,
"description": "In Markdown, a single newline character doesn't cause a line break in the generated HTML. In GitHub Flavored Markdown, that is not true. Enable this config option to insert line breaks in rendered HTML for single newlines in Markdown source."
},
"liveUpdate": {
"type": "boolean",
"order": 2,
"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": {
"order": 3,
"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": {
"order": 4,
"type": "boolean",
"default": false,
"description": "Allow HTML attributes to use protocols normally considered unsafe such as `file://` and absolute paths on Windows."
},
"grammars": {
"order": 0,
"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/pulsar-edit/spell-check#readme) for more information on finding the correct scope for a specific language."
},
"useGitHubStyle": {
"order": 5,
"title": "Use GitHub.com Style",
"type": "boolean",
"default": false,
"description": "Use the same CSS styles for preview as the ones used on GitHub.com."
},
"gitHubStyleMode": {
"order": 6,
"title": "GitHub.com Style Mode",
"type": "string",
"default": "auto",
"description": "Whether to use light-mode GitHub CSS, dark-mode GitHub CSS, or system default (based on your operating system preferences). Has no effect unless **Use GitHub.com Style** is enabled.",
"enum": [
{
"value": "auto",
"description": "System Default"
},
{
"value": "light",
"description": "Light"
},
{
"value": "dark",
"description": "Dark"
}
]
},
"syntaxHighlightingLanguageIdentifier": {
"order": 7,
"title": "Syntax Highlighting Language Identifiers",
"description": "Syntax Highlighting System to use for code block language identification. See [the README](https://github.com/pulsar-edit/pulsar/tree/master/packages/markdown-preview#readme) for details.",
"type": "string",
"default": "linguist",
"enum": [
{
"value": "linguist",
"description": "Linguist: GitHub"
},
{
"value": "chroma",
"description": "Chroma: CodeBerg/Gitea/Hugo/Goldmark"
},
{
"value": "rouge",
"description": "Rouge: GitLab/Jekyll"
},
{
"value": "highlightjs",
"description": "HighlightJS: Markdown-IT"
}
]
},
"customSyntaxHighlightingLanguageIdentifiers": {
"description": "Comma-separated list of syntax language identifiers to map to any language. See [the README](https://github.com/pulsar-edit/pulsar/tree/master/packages/markdown-preview#readme) for usage.",
"type": "string",
"default": ""
},
"useOriginalParser": {
"description": "When checked, will use the original Markdown parser for `markdown-preview` (`marked`). When unchecked, will use the new Markdown parser built into Pulsar (`markdown-it`).",
"type": "boolean",
"default": true
}
}
}