Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorize text inside a table #544

Open
R0nBC opened this issue Nov 20, 2023 · 1 comment
Open

Colorize text inside a table #544

R0nBC opened this issue Nov 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@R0nBC
Copy link

R0nBC commented Nov 20, 2023

I find text in colors inside a table a very basic feature for this utility.
Glow can read html tags but when displaying the file via glow cli, the colors are not seen.
Example:
This is the file:

<style> .colored-text { color: red; } </style>
Fruit Color
Apple Red
Orange Orange
Banana Yellow
Grape Purple

This is the output:
./glow table.html
FRUIT │ COLOR
─────────┼─────────
Apple │ Red
Orange │ Orange
Banana │ Yellow
Grape │ Purple

@R0nBC R0nBC added the enhancement New feature or request label Nov 20, 2023
@R0nBC
Copy link
Author

R0nBC commented Nov 26, 2023

What I'm actually asking is if there is a way to display colors inside table via glow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant