$field->kirbytext()

Converts the field content from Markdown/Kirbytext to valid HTML

  • return (string)

Example

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