Skip to content

Kirby 4.5.0

$field->smartypants()

Applies SmartyPants to the field

$field->smartypants(): Kirby\Content\Field

Return type

Kirby\Content\Field

Aliases

You can use the following aliases for this field method in your template:

  • $field->sp(…)

Example

<?= $page->text()->smartypants() ?>

See also Configuring SmartyPants