Skip to content

Kirby 3.7.5

$field->kirbytext()

Converts the field content from Markdown/Kirbytext to valid HTML

$field->kirbytext(array $options = [ ]): Kirby\Cms\Field

Parameters

Name Type Default
$options array [ ]

Return type

Kirby\Cms\Field

Aliases

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

  • $field->kt(…)

Example

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