PageFactory (Kirby Plugin)

Span()

span()

Renders given text wrapped into a <span> element.

Arguments

text
Text to be wrapped into a <span> element. (default: )
id
Id to be applied to the <span> element. (default: )
class
Class to be applied to the <span> element. (default: )
tag
Tag to be applied to the element, e.g. "
". (default: span)
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

PageFactory