utils

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 5 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LiveExamples []*Example

Functions

func Anchor

func Anchor(h *HTMLTagBuilder, text string) HTMLComponent

func Demo

func Demo(title, demoPath, sourcePath string) HTMLComponent

func DemoWithSnippetLocation

func DemoWithSnippetLocation(title, demoPath string, location parse.Location) HTMLComponent

func ExamplesDoc

func ExamplesDoc() HTMLComponent

Types

type Example

type Example struct {
	Title      string
	DemoPath   string
	SourcePath string
}

Jump to

Keyboard shortcuts

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