support more link types (#20)