Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beforeProcess and afterProcess callables? #17

Open
drenty opened this issue Apr 17, 2014 · 2 comments
Open

beforeProcess and afterProcess callables? #17

drenty opened this issue Apr 17, 2014 · 2 comments

Comments

@drenty
Copy link
Contributor

drenty commented Apr 17, 2014

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.

@kartik-v
Copy link
Owner

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).

@drenty
Copy link
Contributor Author

drenty commented Apr 18, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants