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 linking #13

Open
gausie opened this issue Sep 22, 2014 · 8 comments
Open

Custom linking #13

gausie opened this issue Sep 22, 2014 · 8 comments

Comments

@gausie
Copy link

gausie commented Sep 22, 2014

Hey!

Would be good to have it link to your own site's username system. I'm happy to code it but wondered how you think it would be best to implement that.

@scottcorgan
Copy link
Owner

Do you mean something like a way to provide your own linking type function?

@gausie
Copy link
Author

gausie commented Sep 26, 2014

Yes

@scottcorgan
Copy link
Owner

Can you post an example of an idea you have?

@gausie
Copy link
Author

gausie commented Sep 26, 2014

I was thinking at the very least two attributes: the 'prefix' (defaults to
@) and a 'url replacement pattern' (perhaps substituting \1 for the matched
username or something)
On 26 Sep 2014 21:03, "Scott Corgan" notifications@github.com wrote:

Can you post an example of an idea you have?


Reply to this email directly or view it on GitHub
#13 (comment)
.

@dragonfire1119
Copy link

This would also be awesome to have as a feature. I guess for now I'll have to alter the code.

@scottcorgan
Copy link
Owner

@dragonfire1119 how have you altered the code. I'm interested in your ideas.

@scottcorgan
Copy link
Owner

Any suggestions on how to implement this?

@marksyzm
Copy link

^^ #21 - the linkifyjs plugin has this covered

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

4 participants