forked from trilbymedia/grav-plugin-prism-highlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
executable file
·67 lines (60 loc) · 1.86 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
name: Prism Highlighter Simpler
version: 1.0.2
description: "This plugin provides code highlighting functionality via the [Prism.js](http://prismjs.com/) syntax highlighter with lots of themes and plugins.<br/>It's a modified of [the Prism Highlighter plugin by Trilby Media](https://github.com/trilbymedia/grav-plugin-prism-highlight).<br />It doesn't need shortcodes and is applied to all markdown `pre` tags (for example `\`\`\`php`)."
icon: code
author:
name: Brice Boucard
email: [email protected]
url: https://momh.fr
homepage: https://github.com/bricebou/grav-plugin-prism-highlight-simpler
keywords: highlight, plugin, code, prism.js
bugs: https://github.com/bricebou/grav-plugin-prism-highlight-simpler/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
section_plugins:
type: section
title: Options
underline: true
theme:
type: select
label: CSS Theme
default: prism-base16-ocean.dark.css
size: large
data-options@: '\Grav\Plugin\PrismHighlightSimplerPlugin::themeOptions'
line-numbers:
type: toggle
label: Line Numbers
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
default-language-toggle:
type: toggle
label: Adding a default language?
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
default-language-value:
type: text
size: x-small
label: Default language value
description: For example: txt, latex, php, css...