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

Cannot escape a hash immediately before a number #61

Open
AJNeufeld opened this issue Jul 19, 2016 · 3 comments
Open

Cannot escape a hash immediately before a number #61

AJNeufeld opened this issue Jul 19, 2016 · 3 comments

Comments

@AJNeufeld
Copy link

Escaping the hash (#) does not work, when followed by digits.

I'd like to write about a transformer winding, specifically, winding number 1 or winding number 2.
Of course, writing ... transformer winding #1 is ... results in #1 being treated as an issue link to Issue #1, which (on this site) is "Github Flavored Markdown Examples", totally unrelated to power transformers. 😉

However, escaping the hash does not seem to be possible: \#1 still results in #1, the issue link.

Using HTML entities for the # or digits does not fool the Markdown parser into not seeing character sequence as an issue link:

@chocolateboy
Copy link

A hacky workaround is to insert a zero width character between the hash and the number e.g. gulpjs\/gulp#​4.0 → gulpjs/gulp#​4.0.

Of course, if someone copies 'n' pastes this, they will wind up with an unexpected zero-width space in their text...

@jefersonchaves
Copy link

I know this is pretty old and perhaps not a top priority, but was there any update?

@AJNeufeld
Copy link
Author

On our private gitlab server, Transformer \#1 no longer links to issue #1, so it seems to be fixed in some code bases and is no longer an issue for us personally, 👍

... but still seems to be an issue here on GitHub! 😆

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

3 participants