Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new kbd element with optional child nodes. Example: kbd.New() Renders: <kbd></kbd>
func RawText ¶
func RawText(str string) *element
RawText Creates a new kbd element with raw text content. Example: kbd.RawText("Ctrl+Alt+Del") Renders: <kbd>Ctrl+Alt+Del</kbd>
func RawTextf ¶
RawTextf Creates a new kbd element with formatted raw text content as unescaped HTML using text.RawTextf. Example: kbd.RawTextf("Hello <em>%s</em>", "World") Renders: <kbd>Hello <em>World</em></kbd>
func Static ¶
func Static(str string) *element
Static Creates a new kbd element with static text content. Example: kbd.Static("Hello World") Renders: <kbd>Hello World</kbd>
Types ¶
Click to show internal directories.
Click to hide internal directories.