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