improve support for markdown links