kirbytextinline()
Parses KirbyTags and inline Markdown in the given string.
kirbytextinline(string|null $text = null, array $options = [ ]): string
Parameters
| Name | Type | Default |
|---|---|---|
| $text | stringornull |
null
|
| $options | array |
[ ]
|
Return type
string
Alias
kti()
Examples
<?= kirbytextinline($page->subtitle()) ?>
<?= kti($page->subtitle()) ?>