add local link support to parser, builds on #342