# smartypants()

Enhances the given string with smartypants. Shortcut for `$kirby->smartypants($text)`

****

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

****

```php
smartypants(string|null $text = null): string
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$text` | `string` or `null` | `null` | – |

## Return type

`string`

## Examples

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