When supplying a link that highlights the text on a web page (in Chrome, see note below), a tilde character
~ is used as part of the URL to identify text to highlight:
When using a link like this with Markdown, the tilde is escaped to
%7E. (In particular, this caused text highlighting to fail on three
.gov and one
.org site that I encountered over a four day period.) Today, I tested meta.stackexchange.com and had the same problem.
On Stack Exchange, text highlighting only works when the link is created as HTML anchor tags (
<a>), with the link specified as the
HTML link: How do I search tags?
Markdown link (
[text]), How do I search tags?
Markdown links are much easier to interpret when composing a post, but tildes are escaped when using them, which makes the highlight feature fail.
In a previous question, Link with underscore does not work, a problem with underscores (
_) being changed to
%5F was noted and has since been resolved.
Could a change be made to prevent escaping the tilde character (
~) in Markdown links?
* - "Link to highlight" is a standard feature in Google Chrome, and is available as an addon for other browsers.