utils

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 5 Imported by: 0

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 string, demoPath string, sourcePath string) HTMLComponent

func DemoWithSnippetLocation

func DemoWithSnippetLocation(title string, 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