$field->kirbytext()

Converts the field content from Markdown/Kirbytext to valid HTML

  • return (string)

Example

<?php echo $page->text()->kirbytext() ?>