markdown()
Parses markdown in the given string. Shortcut for $kirby->markdown($text)
markdown(string $text = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$text |
string |
null |
Return type
string
Example
<?= markdown($page->text()) ?>