Maybe replace erusev/parsedown
erusev/parsedown seems to be pretty dead.
There are at least two alternatives to erusev/parsedown with significant performance differences, the slower alternative being more flexible and cleaner code as it seems:
- https://github.com/michelf/php-markdown (based on MDTest)
- https://commonmark.thephpleague.com/ (based on commonmark)
Make sure to review https://www.colinodell.com/blog/201511/optimizing-leaguecommonmark-blackfireio and consider changing the standard markdown lib.
Edited by Thomas Praxl