I'm working on an English to my native language dictionary with python dictionary. While working with key value pair, I want to be able to style certain individual words in the values, embolden, underline, etc. For example, the words capitalized in the values. How do I do this? Thanks. Below is an excerpt of the dictionary:
#Dictionary exlist={ "drum":"DRUM: (with skin) ŋgɔ̀m; (long, single-headed, skin-covered) ɨbûm ŋgɔ̀m; (with one end) ŋgɔ̀m ə̀tu", "bag":"BAG: (n) ə̀bàmɨ̀ pl. ɨ̀bàmɨ̀; (assp) (fibre bag) ə̀bàmɨ̀ tɨswé; (a type of bag made of animal skin) ndoŋ", "ant":"ANT: ɨgwírɨ́ (pl. əgwirɨ); (has a big croup) ɨgwírɨ́ ndiŋ; (ant species, very small, attack and destroy white ants)" } https://stackoverflow.com/questions/66682372/how-do-i-embolden-underline-style-individual-texts-in-a-dictionary-for-displa March 18, 2021 at 06:49AM
没有评论:
发表评论