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 6
/
package.json
92 lines (92 loc) · 3.09 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
{
"name": "asciidoc-image-helper",
"main": "./lib/main",
"version": "1.0.1",
"description": "When pasting an image into an asciidoc document, this package will paste clipboard image data as a file into a folder specified by the user. It will then insert the image url within an asciidoc image reference at the current cursor position.",
"keywords": [
"asciidoc",
"image",
"clipboard",
"paste",
"copy"
],
"repository": "https://github.com/asciidoctor/atom-asciidoc-image-helper",
"license": "MIT",
"engines": {
"atom": ">=1.28.0 <2.0.0"
},
"dependencies": {
"atom-space-pen-views": "^2.2.0"
},
"devDependencies": {
"coffeelint": "^1.15.0",
"temp": "~0.8.3"
},
"configSchema": {
"customFilenames": {
"description": "Enable prompt for custom string to be added into the filename on paste action into document.",
"type": "boolean",
"default": false,
"order": 1
},
"imageFolder": {
"title": "Image folder",
"type": "object",
"order": 3,
"properties": {
"name": {
"title": "Folder name",
"description": "The folder name that image files should be pasted into.<br>The default is an `images` folder in the same folder as the asciidoc file.<br>For subfolders, enter something like `assets/images` without the leading or trailing foreward slash.",
"type": "string",
"default": "images",
"order": 1
},
"dynamicName": {
"title": "Place images in folder that is the same as the filename (without the extension)",
"description": "Place images in a folder named after the filename.<br>This will offer a dynamic image folder name, and **override the 'Images Folder' setting.**",
"type": "boolean",
"default": false,
"order": 2
},
"append": {
"title": "Append `imagesFolder` in generated links.",
"description": "`image::images/foo-bdb66.png[]` # `true` (default)<br>`image::foo-bdb66.png[]` # `false` (You are using the `:imagesdir:` attribute in your document.)",
"type": "boolean",
"default": true,
"order": 3
}
}
},
"urlSupport": {
"title": "URL support",
"type": "object",
"order": 3,
"properties": {
"enable": {
"title": "Enable",
"description": "Enabled clipboard tracking for image URL.<br>**Use with caution:** any valid paths contains in the clipboard will be converted to links.<br>Support: png.",
"type": "boolean",
"default": false,
"order": 1
},
"imageExtensions": {
"title": "Image extensions",
"description": "Related to clipboard tracking for file URL.<br>Specify image file extensions to be converted to links.",
"type": "array",
"default": [
".png",
".jpg",
".jpeg",
".bmp",
".svg",
".gif"
],
"items": {
"type": "string"
},
"order": 2
}
}
}
}
}