convert [[link]] syntax to <a> tag