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

Allow backslash-escape for @mention and emoji #232

Closed
zcorpan opened this issue Nov 12, 2015 · 10 comments
Closed

Allow backslash-escape for @mention and emoji #232

zcorpan opened this issue Nov 12, 2015 · 10 comments

Comments

@zcorpan
Copy link

zcorpan commented Nov 12, 2015

Most syntax in GFM can be escaped in one way or another, but I found no good way to escape @mention syntax and emoji syntax other than inserting a U+200B ZERO WITH SPACE after @ or :

It should be possible to do \@mention and \:+1\: and have the backslash removed and mention/emoji disabled.

@kbrock
Copy link
Contributor

kbrock commented Nov 13, 2015

short term work around, I put them in backticks: @mention

but yes, this sounds good.

Does this belong over in GFM where the syntax is defined?

@MikhailTymchukDX
Copy link

+1
I was lucky enough when I wrote about the ASP.NET @page directive not to mention such a person, but who knows, what directive can make a collision with existing user...

@dan-da
Copy link

dan-da commented Nov 4, 2018

+1

Every language needs a way to escape strings. come on github, this is basic...

@gjtorikian
Copy link
Owner

come on github, this is basic...

This is an open source project managed by volunteers that are unaffiliated with GitHub. If it's so basic consider opening a pull request.

@LunNova
Copy link

LunNova commented May 6, 2020

oddly, in this issue :yarn: in a code block stays as text. On an issue on the gradle repository, they're being changed even in the code blocks: gradle/gradle#13044

@gjtorikian
Copy link
Owner

GitHub does not use this project for rendering their comments. I suggest writing an email to their Support team about it.

@zcorpan
Copy link
Author

zcorpan commented May 7, 2020

Testing again with backslashes: @mention 👍

@zcorpan
Copy link
Author

zcorpan commented May 7, 2020

So backslashes now disable @ but not : in emojis, in GitHub comments. I can contact GitHub support.

@zcorpan
Copy link
Author

zcorpan commented May 7, 2020

No wait. "@mention" is never linked. Testing again: @zcorpan

@gjtorikian
Copy link
Owner

Closed as this is not the place to log GitHub bugs.

Repository owner locked as off-topic and limited conversation to collaborators May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants