prompt-toolkit / prompt-toolkit/python-prompt-toolkit
HTML class - not producing the expected results, on Windows 7
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
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')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked printing-text documentation example and reproduce it using prompt_toolkit 2.07, Python 3.6.6, and Windows 7. Compare the HTML-formatted output with the plain-text output; done means bold, italic, and underlined text are visibly rendered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100