-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.go
33 lines (31 loc) · 856 Bytes
/
config.go
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
package asciidocext_config
// Config configures asciidoc.
type Config struct {
Backend string
Extensions []string
Attributes map[string]string
NoHeaderOrFooter bool
SafeMode string
SectionNumbers bool
Verbose bool
Trace bool
FailureLevel string
WorkingFolderCurrent bool
PreserveTOC bool
}
var (
// Default holds Hugo's default asciidoc configuration.
Default = Config{
Backend: "html5",
Extensions: []string{},
Attributes: map[string]string{},
NoHeaderOrFooter: true,
SafeMode: "unsafe",
SectionNumbers: false,
Verbose: false,
Trace: false,
FailureLevel: "fatal",
WorkingFolderCurrent: false,
PreserveTOC: false,
}
)