pull embedly card markup out to a template