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

Extensions #24

Closed
lukasoppermann opened this issue Feb 17, 2015 · 6 comments
Closed

Extensions #24

lukasoppermann opened this issue Feb 17, 2015 · 6 comments

Comments

@lukasoppermann
Copy link

Hey,

is there an easy way to add extensions to this using the addInlineParser method? Maybe this could somehow be done using the published config?

@GrahamCampbell
Copy link
Owner

Easiest way is to just extend my service provider and override the registerMarkdown method.

@michellaurent
Copy link

@GrahamCampbell: Do you have an example of integrating one of the custom parsers/renderers available on the league/commonmark website with your package ?

It would be nice if we could have a few arrays in the config files for InlineRender, InlineParser, BlockRenderer like we have in Laravel config/app ...

@GrahamCampbell
Copy link
Owner

Yeh, alt-three/emoji is an example. :)

@GrahamCampbell
Copy link
Owner

@michellaurent
Copy link

@GrahamCampbell Thanks. Works fine for me

@GrahamCampbell
Copy link
Owner

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

No branches or pull requests

3 participants