htmlpagecombiner

package
v0.0.0-...-2dd9f32 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombinePages

func CombinePages(pages []Page, css string) (*html.Node, error)

CombinePages combines pages into a printer friendly HTML document

Types

type Options

type Options struct {
	PageWidth    string
	PageHeight   string
	BaseFontSize string
}

Options are arguments that are used to render the HTML document

type Page

type Page interface {
	GetMarkdown() string
	GetPageNumber() string
}

Page any page that can give its Markdown and PageNumber

Jump to

Keyboard shortcuts

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