htmlbag

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package htmlbag exposes a thin Lua bridge that lets a Lua script hand an HTML payload directly to glu's HTML rendering pipeline, skipping the disk roundtrip of writing the HTML to a file just so `glu file.html` can read it back.

The intended user is something like the XSL-FO walker (boxesandglue-examples/glu/xslfo/foproc.lua), which builds HTML in memory and now calls htmlbag.render(html_str, "out.pdf") instead of writing out.html and asking the user to invoke glu a second time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(l *lua.State)

Open registers the glu.htmlbag module for require() in the Lua state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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