print '\033[1m Your Name \033[0m' \033[1m is the escape code for bold in the terminal. \033[0m is the escape code for end the edited text and back default text format. If you do not use \033[0m then all upcoming text of the terminal will become bold. How do I configure VS Code to support italic styles, like in this picture? My current settings: { "editor.fontLigatures": true, "editor.fontFamily": "Operator Mono" } How do I achieve formatting of a text inside a TextBlock control in my WPF application? e.g.: I would like to have certain words in bold, others in italic , and some in different colors, like this For my legend in ggplot2 I have 2 categories, how do I italicize only 1 category and not the other? As an example, consider the following plot. How can I set "Manual" in italics? library (ggplot2)