Documentation
¶
Index ¶
Constants ¶
View Source
const ( VisibilityPublic = Visibility("public") VisibilityPrivate = Visibility("private") VisibilitySecret = Visibility("secret") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) LoadConfig ¶
type Note ¶
type Rule ¶
type Rule struct {
Path string `yaml:"path"`
Visibility Visibility `yaml:"visibility"`
}
type Style ¶
type Style struct {
Base Color `yaml:"base"`
Background Color `yaml:"background"`
Foreground Color `yaml:"foreground"`
Border Color `yaml:"border"`
CodeBackground Color `yaml:"code-background"`
CodeForeground Color `yaml:"code-foreground"`
LinkForeground Color `yaml:"link-foreground"`
ActiveLinkBackground Color `yaml:"active-link-background"`
ActiveLinkForeground Color `yaml:"active-link-foreground"`
}
type Visibility ¶
type Visibility string
func (Visibility) MarshalYAML ¶
func (v Visibility) MarshalYAML() (any, error)
func (*Visibility) UnmarshalYAML ¶
func (v *Visibility) UnmarshalYAML(f func(data any) error) error
Click to show internal directories.
Click to hide internal directories.