-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
schema.json
121 lines (121 loc) · 4.69 KB
/
schema.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
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Supports image with lightbox effect",
"oneOf": [
{
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/",
"enum": [
"glightbox"
]
},
{
"type": "object",
"properties": {
"glightbox": {
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/",
"type": "object",
"properties": {
"touchNavigation": {
"title": "Enable touch navigation (swipe)",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": true
},
"loop": {
"title": "Enable loop slides on end",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": false
},
"effect": {
"title": "Lightbox open effect",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"enum": [
"zoom", "fade", "none"
],
"default": "zoom"
},
"slide_effect": {
"title": "Lightbox slide effect",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"enum": [
"slide", "zoom", "fade", "none"
],
"default": "slide"
},
"width": {
"title": "Width for inline elements and iframes",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"default": "auto"
},
"height": {
"title": "Height for inline elements and iframes",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"default": "auto"
},
"zoomable": {
"title": "Enable zoomable images",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": true
},
"draggable": {
"title": "Enable mouse drag to go prev and next slide",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": true
},
"skip_classes": {
"title": "Custom image class name skip lightbox",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"auto_caption": {
"title": "Enable using alt of image as caption title automatically",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": false
},
"caption_position": {
"title": "Default captions position",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"enum": [
"bottom", "top", "left", "right"
],
"default": "bottom"
},
"background": {
"title": "Background CSS of lightbox image",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "string",
"default": "white"
},
"shadow": {
"title": "Enable the shadow of lightbox image",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": true
},
"manual": {
"title": "When true, lightbox has to be enabled for each image manually by adding 'on-glb' class to it",
"markdownDescription": "https://blueswen.github.io/mkdocs-glightbox/#usage",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}