application

package
v0.0.0-...-caf2605 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFunc

func BuildFunc(cmd *cobra.Command, args []string)

BuildFunc is main function governing building or watching sources

func ServePresentation

func ServePresentation(OutputDir string, Port int)

func ServePresentationCmd

func ServePresentationCmd(cmd *cobra.Command, args []string)

Types

type ConfigBuilder

type ConfigBuilder struct {
	InputDir            string
	OutputDir           string
	Separator           string
	EmbedSeparator      string
	Filename            string
	AssetsDir           string
	Watcher             bool
	RevealJSTemplateDir string
	RevealJSVersion     string
}

type ConfigServer

type ConfigServer struct {
	OutputDir string
	Port      int
}

type HTTPDownloadError

type HTTPDownloadError struct {
	URL        string
	StatusCode int
}

func (*HTTPDownloadError) Error

func (e *HTTPDownloadError) Error() string

type Slide

type Slide struct {
	Markup string
	Index  int
}

func (Slide) RenderedSlide

func (s Slide) RenderedSlide() string

func (Slide) String

func (s Slide) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL