Documentation
¶
Overview ¶
Package telescope provides a built-in plugin that adds a command-palette style quick-navigation modal, opened with Ctrl+/ (Cmd+/ on Mac). It ships a fuzzy page search (Fuse.js) over a build-time index of page metadata, plus pinned and recently visited pages persisted in localStorage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldNames ¶
func FieldNames() []string
FieldNames returns the declared config field names, sorted, for config key validation warnings.
func New ¶
New constructs the telescope plugin from its config map and StringTable. st may be nil; UI labels then degrade to their raw i18n keys and the client falls back to built-in English strings.
func NewWithStrings ¶ added in v1.6.0
NewWithStrings is New with the string table read at render time: a builder reused across dev rebuilds loads the strings again on every build, and the plugin, registered once, must render the latest ones.
Types ¶
This section is empty.