Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New Creates a new rt element with optional child nodes Example: rt.New(text.Text("kan")) Renders: <rt>kan</rt>
func RawText ¶
func RawText(content string) *element
RawText Creates a new rt element with raw text content Example: rt.RawText("<em>reading</em>") Renders: <rt><em>reading</em></rt>
func RawTextf ¶
RawTextf Creates a new rt element with formatted raw text content as unescaped HTML Example: rt.RawTextf("<span>%s</span>", "ruby") Renders: <rt><span>ruby</span></rt>
func Static ¶
func Static(content string) *element
Static Creates a new rt element with static text content Example: rt.Static("pronunciation") Renders: <rt>pronunciation</rt>
Types ¶
Click to show internal directories.
Click to hide internal directories.