implement link markup parsing and api call