A covalent route for efficient surface modification of ordered mesoporous carbon as high performance microwave absorbers.