added link reference support for markdown