Documentation ¶
Overview ¶
Autogenerated by make resources
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTemplate ¶
Load template returns a mermaid html page with the input mermaid code embedded.
Types ¶
type Generator ¶ added in v0.1.1
type Generator struct {
// contains filtered or unexported fields
}
func Init ¶ added in v0.1.1
func Init() *Generator
// Init returns a new Generator instance which sets up a chrome browser instance to be used by all subsequent calls
func (*Generator) Close ¶ added in v0.1.1
func (g *Generator) Close()
Close cancels the root context and closes the chrome browser instance created by chromedp
func (*Generator) EvaluateAndSelectHTML ¶ added in v0.1.1
Execute evaluates raw html (with javascript embedded) and returns the processed HTML.
Click to show internal directories.
Click to hide internal directories.