func Func
Func returns a markdown link for the specific function with optional key-value arguments, for the current realm.
Package helplink provides utilities for creating help page links compatible with Gnoweb, Gnobro, and other clients th...
Package helplink provides utilities for creating help page links compatible with Gnoweb, Gnobro, and other clients that support the Gno contracts' flavored Markdown format.
This package simplifies the generation of dynamic, context-sensitive help links, enabling users to navigate relevant documentation seamlessly within the Gno ecosystem.
For a more lightweight alternative, consider using p/moul/txlink.
The primary functions — Func, FuncURL, and Home — are intended for use with the "relative realm". When specifying a custom Realm, you can create links that utilize either the current realm path or a fully qualified path to another realm.
Func returns a markdown link for the specific function with optional key-value arguments, for the current realm.
FuncURL returns a URL for the specified function with optional key-value arguments, for the current realm.
Home returns the URL for the help homepage of the current realm.
Realm represents a specific realm for generating help links.
Func returns a markdown link for the specified function with optional key-value arguments.
FuncURL returns a URL for the specified function with optional key-value arguments.
Home returns the base help URL for the specified realm.