beforeProcess and afterProcess callables?
drenty opened this issue · comments
Markdown has a custom
option which is great, but it would be better if you could pass callables as options to change the markup either before of after calling process()
.
That would provide more flexibility.
I can open a PR if you're interested.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Yes - a PR would help.
Note though... I have a plan to upgrade the Markdown parser using cebe's Markdown parser down the line (maybe sometime in May when he adds the MarkdownExtra support).
Ok cool, cebe's Markdown parser has a very elegant way to extend the language.
I'll submit a PR to be able to extend it with callables before you switch.