PageFactory (Kirby Plugin)

Style()

style()

Renders text with given inline styles.

Arguments

text
Text to apply styling to. (default:  )
style
Styling instructions, e.g. "border: 1px solid red;". (default:  )

Example

Lorem {{ style('Ipsum', 'color:blue; font-weight:bold; border: 1px solid red;') }} Dolor

Lorem Ipsum Dolor

PageFactory