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