Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PresetNames = []string{"default", "demo"}
Functions ¶
func IsMarkdown ¶ added in v0.0.3
Types ¶
type Config ¶
type Config struct {
Slides []string `json:"slides"`
Title string `json:"title"`
Theme string `json:"theme"`
BuildDirectory string `json:"buildDir"`
RevealJS map[string]interface{} `json:"revealjs"`
InternalPlugins []interface{} `json:"plugins"`
}
func (*Config) OverrideWith ¶ added in v0.0.3
func (*Config) RevealJSConfig ¶
type GenerateOptions ¶
type HTMLGeneratorParams ¶
type Markdown ¶ added in v0.0.3
type Markdown struct {
// contains filtered or unexported fields
}
func NewMarkdown ¶ added in v0.0.3
func (*Markdown) WithoutYAMLHeader ¶ added in v0.0.3
type Preset ¶
type Preset struct {
// contains filtered or unexported fields
}
Preset is a collection of files that are used to generate an initial Reveal.js presentation.
func NewDefaultPreset ¶
func NewDefaultPreset() *Preset
type RevealJS ¶
type RevealJS struct {
EmbedHTML bool
EmbedMarkdown bool
// contains filtered or unexported fields
}
func NewRevealJS ¶
func (*RevealJS) BuildDirectory ¶
func (*RevealJS) DataDirectory ¶
func (*RevealJS) FileSystem ¶ added in v0.0.3
func (*RevealJS) GenerateIndexHTML ¶ added in v0.0.3
func (r *RevealJS) GenerateIndexHTML(w io.Writer, params *HTMLGeneratorParams) error
func (*RevealJS) ReloadConfig ¶ added in v0.0.3
Source Files
¶
Click to show internal directories.
Click to hide internal directories.