It would be awesome if GitHub @ mentions were auto-linked to GitHub profiles in blog posts. I'm hoping there's an existing plugin but there likely isn't.
It would be awesome if GitHub `@` mentions were auto-linked to GitHub profiles in blog posts. I'm hoping there's an existing plugin but there likely isn't.
<!-- github-sync-id:828179681 -->
@jdiogopeixoto - This is an interesting idea. What do you think about the feasibility of this? AFAIK it would:
be limited to blog post body text only
at static site build, search body text for @foo and render as <a href="https://github.com/foo">@foo</a>
Note this does risk ALL text of format @foo getting rendered as a GitHub link. Not a frequent case, but still a risk. If executing this would be complex, keeping the risk in mind, it might not be worth implementing.
@jdiogopeixoto - This is an interesting idea. What do you think about the feasibility of this? AFAIK it would:
- be limited to blog post body text only
- at static site build, search body text for `@foo` and render as `<a href="https://github.com/foo">@foo</a>`
Note this does risk ALL text of format `@foo` getting rendered as a GitHub link. Not a frequent case, but still a risk. If executing this would be complex, keeping the risk in mind, it might not be worth implementing.
<!-- github-comment-id:795921630 -->
If you mean to edit the markdown itself directly as part of an automated process, sure. I believe @Stebalien's original request was so that he doesn't need to type all of that.
If you mean to edit the markdown itself directly as part of an automated process, sure. I believe @Stebalien's original request was so that he doesn't need to type all of that.
<!-- github-comment-id:796093275 -->
I really don't think it's worth doing this, I feel like it's too much work when it can be solved by just adding it as a link.
Doing this could also lead to problems as you mentioned, we would have to assume that all the handles are GitHub handles, which I don't think it's a good assumption.
I really don't think it's worth doing this, I feel like it's too much work when it can be solved by just adding it as a link.
Doing this could also lead to problems as you mentioned, we would have to assume that all the handles are GitHub handles, which I don't think it's a good assumption.
<!-- github-comment-id:797010180 -->
My biggest concern about this is the assumption that anything with an @ is a GitHub handle. Agree - let's close this but revisit if it becomes a pain point.
My biggest concern about this is the assumption that anything with an `@` is a GitHub handle. Agree - let's close this but revisit if it becomes a pain point.
<!-- github-comment-id:797012158 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
It would be awesome if GitHub
@mentions were auto-linked to GitHub profiles in blog posts. I'm hoping there's an existing plugin but there likely isn't.@jdiogopeixoto - This is an interesting idea. What do you think about the feasibility of this? AFAIK it would:
@fooand render as<a href="https://github.com/foo">@foo</a>Note this does risk ALL text of format
@foogetting rendered as a GitHub link. Not a frequent case, but still a risk. If executing this would be complex, keeping the risk in mind, it might not be worth implementing.Wouldn't it be better to just add the handle to the markdown as a link, like
[@foo](https://github.com/foo)? 🤔If you mean to edit the markdown itself directly as part of an automated process, sure. I believe @Stebalien's original request was so that he doesn't need to type all of that.
I really don't think it's worth doing this, I feel like it's too much work when it can be solved by just adding it as a link.
Doing this could also lead to problems as you mentioned, we would have to assume that all the handles are GitHub handles, which I don't think it's a good assumption.
My biggest concern about this is the assumption that anything with an
@is a GitHub handle. Agree - let's close this but revisit if it becomes a pain point.