Skip to content

package markup

import "kaiju/markup"

Functions

DocumentFromHTMLAsset

func DocumentFromHTMLAsset(host *engine.Host, htmlPath string, withData any, funcMap map[string]func(*document.Element)) (*document.Document, error)

DocumentFromHTMLString

func DocumentFromHTMLString(host *engine.Host, html, cssStr string, withData any, funcMap map[string]func(*document.Element)) *document.Document