Amon Otis Poston
Human Rights Focused Computer Scientist
PGP Fingerprint: 856B 3022 A763 BB23 EA1E DD91 E784 D6D5 7CAB 42A2

How to parse markdown into html with Laravel
07/03/23

$html = app(Parsedown::class)->text($markdownString);

Explaination

Laravel uses this package to parse emails written in markdown into html. The class it uses is exposed and can be used by you (the dev).

Thank you to Italo Baeza Cabrera whose medium article taught me this.

Read more of his new article on the laravel markdown parser.