Add emphasis to html and latex json texts