I normally just copy paste, but look at what happened in this post:
A good example on the wikipedia page: http://en.m.wikipedia.org/wiki/Sturm–Liouville_theory
Some people embed it. Can someone tell me the correct code for doing that?
From what I can tell, your link contains an "en dash" between
Liouville, and it is this character that is causing the problem. Replacing it with the ordinary "hyphen-minus"
- seems to work:
The same problem appears to occur even when using fancier link constructs:
(If you are anti-hyphen-minus and really want to keep the en dash, you can also replace the en dash character with the HTML character code
– — http://en.m.wikipedia.org/wiki/Sturm–Liouville_theory)
This appears to be a known behaviour in the system. balpha's answer here indicates that if you use the link button (or
Ctrl-L) to add the link, the problematic characters will be automatically escaped.
Testing: creating a link using Ctrl-L. Seems to work.
Being disgustingly lazy, I find it tiresome to move between Math.SE and an external page twice: to copy-paste the title of the page and its URL.
So I made a little bookmarklet which, when executed on any page, generates a link in Markdown's
[text](URL) format, using either the text you selected on the page, or (if none) the title of the page. The URL is properly escaped. At least in Chrome and Firefox, which are the browsers I tested.