-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
I'm working on a little cron-dashboard. This is what it looks like; from the terminal.
The idea is that my app will keep track of where all the logs are and that you can easily find the logs of the jobs that failed. But I don't just want to have users find logs in the terminal. I also want to export these to HTML. So I was super stoked when I learned rich basically just supports this.
I've printed the table via a Console which I've set to record and I've taken the liberty to also export it to HTML. This is where there is a subtle bug. Notice the subtle difference in the link-line under the red x.
I might imagine that we'd like to keep the colors consistent here. The link in the browser should carry the color of the parent. I think this is a bug, but if this is by design I'll gladly hear it.
Code
This is the code that is used inside the table.
f"[red][link={make_link()}.html]x[/link][/red]"
