Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new h4 element with the given child nodes. Example: h4.New(text.Text("Detailed Point")) Renders: <h4>Detailed Point</h4>
func RawText ¶
func RawText(str string) *element
RawText Creates a new h4 element with raw text content as unescaped HTML. Example: h4.RawText("<small>Detail</small> Heading") Renders: <h4><small>Detail</small> Heading</h4>
func RawTextf ¶
RawTextf Creates a new h4 element with formatted raw text content as unescaped HTML using text.RawTextf. Example: h4.RawTextf("Hello <em>%s</em>", "World") Renders: <h4>Hello <em>World</em></h4>
func Static ¶
func Static(str string) *element
Static Creates a new h4 element with static text content. Example: h4.Static("Hello World") Renders: <h4>Hello World</h4>
Types ¶
Click to show internal directories.
Click to hide internal directories.