markdown($text)

Parses the text as Markdown

  • $text (string)
  • return (string)

Example

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