Add italic and dim support