html

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct{}

Renderer renders a document to HTML with inline SVG for each page.

func New

func New() Renderer

New creates a renderer for the HTML backend.

Example:

renderer := html.New()

func (Renderer) Backend

func (Renderer) Backend() layout.Backend

Backend returns the renderer backend type.

func (Renderer) Capabilities

func (Renderer) Capabilities() []layout.Feature

Capabilities reports features supported by this backend.

func (Renderer) Render

func (Renderer) Render(doc layout.Document) ([]byte, error)

Render renders the document to an HTML document.

Jump to

Keyboard shortcuts

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