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

User mentions/hashtags support [extension] #307

Closed
ShNURoK42 opened this issue Apr 8, 2015 · 2 comments
Closed

User mentions/hashtags support [extension] #307

ShNURoK42 opened this issue Apr 8, 2015 · 2 comments

Comments

@ShNURoK42
Copy link

Hi all.
I'am writing user mentions support (like @username) for this markdown library. It's very easy changes for hashtags support (like #markdown).
https://gist.github.com/ShNURoK42/b5ce8baa570975db487c

This gist have two function, one of them extend parsedown for pasre message and find mentions in it. And second for find which users are mention in message.
As it was difficult for me I think it be useful to someone else.
If you have more beautiful code solution please say me, or say about errors in it.

Sorry for my bad English. Thanks.

@erusev
Copy link
Owner

erusev commented Apr 8, 2015

Thanks. Feel free to add a link to the wiki: https://github.com/erusev/parsedown/wiki/List-of-Parsedown-extensions

@ShNURoK42
Copy link
Author

Ok. Thanks.

@erusev erusev closed this as completed Apr 9, 2015
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