add local link support to parser, builds on #342

This one's been stewing in my fork for almost a year now. Time to let it air out! :joy: