Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body interface {
// ToBytes returns the content as a byte slice.
ToBytes() ([]byte, error)
// ToString returns the content as a string.
ToString() (string, error)
// contains filtered or unexported methods
}
Body defines the interface for content that can be rendered into an EPUB section. It supports both raw string data and external file paths.
type File ¶
type File string
File represents a path to a file on the local file system. The content is read only when a conversion method is called. The file content must be the structure that holds the <body></body> tag
Click to show internal directories.
Click to hide internal directories.