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

Custom hooks? #62

Open
JoeyBodnar opened this issue Jun 3, 2020 · 1 comment
Open

Custom hooks? #62

JoeyBodnar opened this issue Jun 3, 2020 · 1 comment

Comments

@JoeyBodnar
Copy link

I am using CocoaMarkdown for my open source macOS reddit client, and I was wondering if there is a way to create a custom hook? for example, if I want cocoaMarkdown to catch /r/subreddit text and highlight it and make it a clickable link. Is that possible using this library?

@indragiek
Copy link
Owner

You can use CMParser directly to do your own custom transformations: https://github.com/indragiek/CocoaMarkdown/blob/master/CocoaMarkdown/CMParser.h

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

2 participants