Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new strong element with optional child nodes. Example: strong.New() Renders: <strong></strong>
func RawText ¶
func RawText(content string) *element
RawText Creates a new strong element with raw text content as unescaped HTML. Example: strong.RawText("Important <em>nested</em> text") Renders: <strong>Important <em>nested</em> text</strong>
func RawTextf ¶
RawTextf Creates a new strong element with formatted raw text content as unescaped HTML using text.RawTextf. Example: strong.RawTextf("%s <em>%s</em> text", "Important", "nested") Renders: <strong>Important <em>nested</em> text</strong>
func Static ¶
func Static(content string) *element
Static Creates a new strong element with static text content. Example: strong.Static("Hello World") Renders: <strong>Hello World</strong>