When linking to resources I prefer to use named anchors (if available), so people don't have to go searching for what exactly I'm referring to on the linked page. With the shortcut [mod://], however, this doesn't seem to be possible, because special characters like # or % are being URI-escaped, which produces hrefs that don't work (example).
I typically end up using a generic [http://...] with a URI like what would be created by [mod://]:
[http://search.cpan.org/perldoc?pp#-a,_--addfile=FILE%7cDIR|my link +text]
(which doesn't have the problem), but it would be nice to have it working directly with the shortcut in the first place, i.e.
[mod://pp#named-anchor|my link text]
(as it is, it typically takes two steps for me, because I don't seem to be able to remember the exact URI that's being generated by the shortcut...)
So I'm wondering if there is a way to somehow quote/escape special characters (such that they aren't URI-escaped by PM), or what's the proper way to link to anchors. Or is this maybe a browser issue? (I'm using Firefox)
(My apologies in case this has already been discussed — a quick search turned up a number of nodes, but none of those did really apply to this specific issue.)
In reply to [mod://] shortcut with named anchors by almut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |