4 ms·
This always bugged me too. When I had the occasion to create my own, I just did it this way: Any link like http://example.com/ http://example.com/ is converted
by crdoconnor 14y ago
This always bugged me too. When I had the occasion to create my own, I just did it this way:
Any link like http://example.com/ http://example.com/ is converted into a link.
http://example.com|Anchor http://example.com|Anchor text| is converted into <a href="http://example>Anchor http://example>Anchor text</a>
I thought that was as intuitive as I could make it.
I can never remember using markdown whether it's [http:/wwww.example.com](anchor text) or (http://example.com)[anchor http://example.com)[anchor text]
- lobster_johnson 14y agoMy suggestion: Anchor in brackets before or after the link. So this: [Some link] http://example.com/ and this: http://example.com/ [Some link] would both become a link with "Some link" as the text. If there are brackets-text both before and after, choose the one after. This is unambiguous for almost all kinds of text, and anyone who is oblivious to the syntax is unlikely to stumble into it by mistake.