Skip to content

Kirby 5.0.4

$markdown->parse()

Parses the given text and returns the HTML

$markdown->parse(string|null $text = null, bool $inline = false): string

Parameters

Name Type Default
$text stringornull null
$inline bool false

Return type

string

This method modifies the existing $markdown object it is applied to and returns it again.

Parent class

Kirby\Text\Markdown