Fix for regex in markdown grammar not handling multiple links

Uses regex from https://gist.github.com/jbroadway/2836900