cover

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cover generates and renders book cover pages. It builds a styled HTML cover from book metadata such as title, author, and version.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoverGenerator

type CoverGenerator struct {
	// contains filtered or unexported fields
}

CoverGenerator builds the HTML cover page.

func NewCoverGenerator

func NewCoverGenerator(meta config.BookMeta) *CoverGenerator

NewCoverGenerator creates a new cover generator from book metadata.

func (*CoverGenerator) RenderHTML

func (cg *CoverGenerator) RenderHTML() string

RenderHTML returns a self-contained HTML cover page.

Jump to

Keyboard shortcuts

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