rich/questions/highlighting_unexpected.que...

12 lines
492 B
Markdown

---
title: "Strange colors in console output."
alt_titles:
- "Why are numbers in cyan?"
- "Rich print seems to make decimals cyan"
- "Numbers get printed differently"
---
Rich will highlight certain patterns in your output such as numbers, strings, and other objects like IP addresses.
Occasionally this may also highlight parts of your output you didn't intend. See the [docs on highlighting](https://rich.readthedocs.io/en/latest/highlighting.html) for how to disable highlighting.