PageFactory (Kirby Plugin)

Span()

span()

Renders given text wrapped into a <span> element.

Arguments

text
Text to be wrapped into a <span> element. (default: )
class
Class to be applied to the <span> element. (default: )
style
Styling instructions, e.g. "border: 1px solid red;". (default: )
attr
Other attributes, e.g. "aria-hidden='true'". (default: )

Example

Lorem {{ span(Ipsum, class:red) }} Dolor

Lorem Ipsum Dolor