apply markup to tool action labels