xhtml

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: ISC Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(opts *Options) frundis.Exporter

NewExporter returns a frundis.Exporter suitable to produce EPUB or HTML. See type Options for options.

Types

type Options

type Options struct {
	AllInOneFile bool   // output goes only to one html file
	Format       string // "epub" or "xhtml"
	OutputFile   string // name of output file or directory
	Standalone   bool   // generate complete document with headers (default unless AllInOneFile)
	Werror       io.Writer
}

Options gathers configuration for HTML and EPUB export.

Jump to

Keyboard shortcuts

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