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