support markdown links and link references as type names