-
Notifications
You must be signed in to change notification settings - Fork 7
/
blueprints.yaml
99 lines (88 loc) · 2.31 KB
/
blueprints.yaml
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
name: Prism Highlight
slug: prism-highlight
type: plugin
version: 3.0.0
description: "This plugin provides code highlighting functionality via the [Prism.js](http://prismjs.com/) syntax highlighter with lots of themes and plugins."
icon: code
author:
name: Trilby Media
email: [email protected]
url: https://trilby.media
homepage: https://github.com/trilbymedia/grav-plugin-prism-highlight
keywords: highlight, plugin, code, prism.js
bugs: https://github.com/trilbymedia/grav-plugin-prism-highlight/issues
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
theme:
type: select
label: CSS Theme
default: prism-one-light.css
size: large
data-options@: '\Grav\Plugin\PrismHighlightPlugin::themeOptions'
all-pre-blocks:
type: toggle
label: All Pre Blocks
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
section_plugins:
type: section
title: Plugins Options
underline: true
plugins.line-numbers:
type: toggle
label: Line Numbers
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
plugins.command-line:
type: toggle
label: Command Line
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
plugins.command-line-prompt:
type: text
size: small
label: Command Line Prompt
section_advanced:
type: section
title: Advanced
underline: true
fields:
custom.js_location:
type: text
label: Custom JS location
default: user://data/prism-highlight/prism.js
custom.css_location:
type: text
label: Custom CSS location
default: user://data/prism-highlight/prism.css
custom.theme_location:
type: text
label: Custom CSS location
default: user://data/prism-highlight/prism.css