Documentation ¶
Index ¶
Constants ¶
View Source
const ( TransitionNone Transition = "none" TransitionFade Transition = "fade" TransitionSlide Transition = "slide" TransitionConvex Transition = "convex" TransitionConcave Transition = "concave" TransitionZoom Transition = "zoom" ControlsLayoutBottomRight ControlsLayout = "bottom-right" ControlsLayoutEdges ControlsLayout = "edges" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Components ¶
type Components struct { ConfigFileInUse string `mapstructure:"-"` Reveal Reveal `mapstructure:",squash"` Rendering Rendering `mapstructure:",squash"` Mermaid Mermaid }
func Load ¶
func Load(workingDir, configFile string) (cfg *Components, err error)
type ControlsLayout ¶
type ControlsLayout string
type Reveal ¶
type Reveal struct { Theme string `json:"theme"` CodeTheme string `json:"codeTheme"` Transition Transition `json:"transition"` Controls bool `json:"controls"` ControlsLayout ControlsLayout `json:"controlsLayout"` Progress bool `json:"progress"` History bool `json:"history"` Center bool `json:"center"` SlideNumber bool `json:"slideNumber"` Width uint `json:"width"` Height uint `json:"height"` Menu struct { Numbers bool `json:"numbers"` UseTextContentForMissingTitles bool `json:"useTextContentForMissingTitles"` Transitions bool `json:"transitions"` HideMissingTitles bool `json:"hideMissingTitles"` Markers bool `json:"markers"` OpenButton bool `json:"openButton"` } `json:"menu"` }
type Transition ¶
type Transition string
func (Transition) String ¶
func (t Transition) String() string
Click to show internal directories.
Click to hide internal directories.