This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpackage.json
212 lines (212 loc) · 6.87 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"name": "asciidoc-preview",
"main": "./lib/main",
"version": "2.13.1",
"description": "Show an HTML preview for the AsciiDoc content in the current editor",
"repository": "https://github.com/asciidoctor/atom-asciidoc-preview",
"license": "MIT",
"keywords": [
"asciidoctor",
"asciidoc",
"preview"
],
"styles": [
"font-awesome",
"asciidoc-preview"
],
"engines": {
"atom": ">=1.24.0 <2.0.0"
},
"dependencies": {
"@asciidoctor/core": "~2.0.3",
"atom-space-pen-views": "~2.2.0",
"cheerio": "~0.22.0",
"font-awesome": "^4.7.0",
"fs-plus": "~2.9.3",
"mustache": "~2.3.0",
"opn": "^4.0.2",
"underscore-plus": "~1.6.6"
},
"devDependencies": {
"coffeelint": "^1.15.0"
},
"deserializers": {
"AsciiDocPreviewView": "createAsciiDocPreviewView"
},
"configSchema": {
"scrollMode": {
"title": "Synchronize the preview pane",
"description": "If set, synchronize the preview pane with the AsciiDoc source pane.<br>WARNING: The scroll position on the preview pane does not automatically scroll the AsciiDoc source pane.",
"type": "boolean",
"default": true,
"order": 0
},
"renderOnSaveOnly": {
"title": "Render on save only",
"type": "boolean",
"default": false,
"order": 1
},
"openInPane": {
"type": "string",
"default": "right",
"enum": [
"left",
"right",
"up",
"down"
],
"order": 2
},
"showTitle": {
"description": "If set, displays an embedded document’s title.<br>Mutually exclusive with the notitle attribute.",
"type": "boolean",
"default": true,
"order": 3
},
"sectionNumbering": {
"description": "Auto-number section titles.<br>- Enabled by default (equivalent to `-a sectnums=@`)<br>- Always enabled (equivalent to `-a sectnums`)<br>- Always disabled (equivalent to `-a sectnums!`)<br>- Not specified<br>https://asciidoctor.org/docs/user-manual/#numbering",
"type": "string",
"default": "enabled-by-default",
"enum": [
"enabled-by-default",
"always-enabled",
"always-disabled",
"not-specified"
],
"order": 4
},
"tocType": {
"title": "Always show Table of Contents",
"description": "Override `:toc:` attribute defined in documents.<br>Choose `none` to define manually the `:toc:` attribute in documents.",
"type": "string",
"default": "preamble",
"enum": [
"none",
"preamble",
"macro"
],
"order": 5
},
"frontMatter": {
"title": "Allow Front Matter",
"description": "If set, consume YAML-style front matter at the top of the document and store it in the front-matter attribute.",
"type": "boolean",
"default": false,
"order": 6
},
"forceExperimental": {
"title": "Always enable AsciiDoctor experimental extensions",
"description": "The features behind this attribute are subject to change and may even be removed in a future version of AsciiDoctor.<br>Currently enables the UI macros (`button`, `menu` and `kbd`).",
"type": "boolean",
"default": false,
"order": 7
},
"compatMode": {
"title": "Always enable compatibility mode (AsciiDoc Python)",
"type": "boolean",
"default": false,
"order": 8
},
"safeMode": {
"description": "Set safe mode 'level': `unsafe`, `safe`, `server` or `secure`.<br>Disables potentially dangerous macros in source files, such as `include::[]`.<br>Set safe mode level to `safe` to enable include macros, but restrict access to ancestor paths of source file.<br>https://asciidoctor.org/docs/user-manual/#running-asciidoctor-securely<br>",
"type": "string",
"default": "safe",
"enum": [
"unsafe",
"safe",
"server",
"secure"
],
"order": 9
},
"baseDir": {
"title": "Base directory",
"description": "The default value `{docdir}` makes the base directory match the document directory.<br>Use the value `-` to use absolute path.<br>More information: https://asciidoctor.org/docs/user-manual/#ruby-api-options",
"type": "string",
"default": "{docdir}",
"order": 10
},
"defaultAttributes": {
"type": "string",
"default": "platform=opal platform-opal env=browser env-browser source-highlighter=highlight.js data-uri!",
"order": 11
},
"grammars": {
"type": "array",
"default": [
"source.asciidoc",
"text.plain",
"text.plain.null-grammar"
],
"order": 12
},
"saveAsHtml": {
"title": "Save as HTML",
"type": "object",
"collapsed": true,
"properties": {
"openInEditor": {
"title": "Open the generated HTML source code in Atom.",
"type": "boolean",
"default": false
},
"openInBrowser": {
"title": "Open the generated HTML file in your default browser.",
"type": "boolean",
"default": true
}
},
"order": 13
},
"exportAsPdf": {
"title": "Export as PDF [experimental]",
"type": "object",
"collapsed": true,
"properties": {
"enabled": {
"title": "Enable PDF export using Asciidoctor PDF.",
"description": "The [asciidoctor-pdf](https://github.com/asciidoctor/asciidoctor-pdf) command must be available on your `PATH`.",
"type": "boolean",
"default": false,
"order": 1
},
"openWithExternal": {
"title": "Automatically open the PDF after generation with the default PDF viewer.",
"type": "boolean",
"default": true,
"order": 2
},
"pdfStyle": {
"title": "Style (-a pdf-style=)",
"description": "The name of the YAML theme file to load. <br> https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#applying-your-theme",
"type": "string",
"default": "",
"order": 3
},
"pdfStylesDir": {
"title": "Styles directory (-a pdf-stylesdir=)",
"description": "The directory where the theme file is located. _Specifying an absolute path is recommended._",
"type": "string",
"default": "",
"order": 4
},
"pdfFontsDir": {
"title": "Fonts directory (-a pdf-fontsdir=)",
"description": "The directory where the fonts used by your theme, if any, are located. _Specifying an absolute path is recommended._",
"type": "string",
"default": "",
"order": 5
},
"arguments": {
"title": "Command line additional arguments",
"description": "ex: `-a pdf-page-size=Letter`",
"type": "string",
"default": "",
"order": 6
}
},
"order": 14
}
}
}