# $field->smartypants()

Applies SmartyPants to the field

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/methods.php#L594>

****

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

## Return type

`Kirby\Content\Field`

This method modifies the existing `$field` object it is applied to and returns it again.

## Aliases

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

- `$field->sp(…)`

## Examples

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

See also <a href="https://getkirby.com/docs/reference/system/options/smartypants">Configuring SmartyPants</a>