Parse a markdown file and extract links from it