-
Notifications
You must be signed in to change notification settings - Fork 738
Open
Description
Using prompt_toolkit 2.07, with Python 3.6.6 (32-Bit) on Windows 7 Pro, 64-Bit
https://python-prompt-toolkit.readthedocs.io/en/stable/pages/printing_text.html#html
refers to this code
`from future import unicode_literals, print_function
from prompt_toolkit import print_formatted_text, HTML
print_formatted_text(HTML('This is bold'))
print_formatted_text(HTML('This is italic'))
print_formatted_text(HTML('This is underlined'))`
However, only plain text is displayed. Bold, italics, and underlined are not seen
In other words, the code aboce produces the same result as the code below.
print_formatted_text('This is bold') print_formatted_text('This is italic') print_formatted_text('This is underlined')
Metadata
Metadata
Assignees
Labels
No labels