News for hackers. Stuff that matters.
Re:The Future of Markdown by 178 on Friday October 26, 2012 @05:27AM (#4701495)
I struggled with that until I looked at it from a parser perspective: links start with [] because () are much more commons in normal language.
Re:The Future of Markdown by spion on Friday October 26, 2012 @06:46AM (#4701623)
There is actually an even easier method.

In normal text, we usually link to things by first citing them then providing the link. An example would be Google (http://www.google.com). Its natural that we surround the link in () in normal text.

Now the bit we add to help the parser is to tell it where the thing we're linking to begins and where it ends. [ and ] are not usually found in normal text and are therefore used for this purpose. Thus the modified example would be [Google](http://www.google.com).

Re:The Future of Markdown by SiVal on Friday October 26, 2012 @03:51PM (#4703935)
I would much rather see a more mnemonic approach for links, where you would write either _click here_ [http://wherever.com] or _click here_ (http://wherever.com). The underscores look like an underline, which is the traditional appearance of link text in HTML. It's easy to remember. Whether the URL is in square brackets or parentheses (maybe either one would be acceptable as long as they are a matched pair) doesn't matter, but underlining the anchor text is the way to go, IMO.
Re:The Future of Markdown by daigoba66 on Friday October 26, 2012 @09:07AM (#4701971)
Beautiful explanation. And one that I can remember while writing in markdown.