forked from sourcesoldier/grav-plugin-tidyhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
89 lines (88 loc) · 2.23 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
name: Tidyhtml
version: 1.0.1
description: TidyPHP integration for Grav.
icon: code
author:
name: Clemens Queissner
email: clemens.queissner@cq-design.de
url: https://cq-design.de
homepage: https://github.com/sourcesoldier/grav-plugin-tidyhtml
demo: https://cq-design.de
keywords: html tidy beautiful
bugs: https://github.com/sourcesoldier/grav-plugin-tidyhtml/issues
license: GPL v3
form:
validation: strict
fields:
basic_section:
type: section
title: Basic configurtion
underline: false
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
indent:
type: toggle
label: Ident rendered HTML code
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
wrap:
type: text
label: Line-wrap (0 = no wrapping, 68 = standard)
default: 0
size: x-small
validate:
type: int
min: 1
indent_spaces:
type: text
label: Spaces to use for indents
size: x-small
default: 4
validate:
type: number
min: 1
hide_comments:
type: toggle
label: Hide HTML comments in rendered HTML
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
tag_section:
type: section
title: HTML tag configuration
underline: false
blocklevel_tags:
type: array
label: New block-level tags
default: [article, aside, audio, bdi, canvas, details, dialog, figcaption, figure, footer, header, hgroup, main, menu, menuitem, nav, section, source, summary, template, track, video,]
size: medium
value_only: true
inline_tags:
type: array
label: New inline-level tags
default: [audio, command, datalist, embed, keygen, mark, menuitem, meter, output, progress, source, time, video, wbr, data]
size: medium
value_only: true
empty_tags:
type: array
label: This option specifies new empty inline tags
default: [command, embed, keygen, source, track, wbr]
size: medium
value_only: true