Fixed Markdown link detection to support multiple instances.

Fixes issue #5.