The man in his 30s had been returning to work from a cafe in Market Street when he was hit by a Cazza's cab at 14:20.
Police Scotland said he had now regained consciousness and his injuries were not life-threatening.
The man is being treated at Edinburgh Royal Infirmary.
A City of Edinburgh Council official is being treated in hospital after being knocked down by a taxi outside their offices in the capital.