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

add cli option that lets you include escape codes as useless attributes #3

Open
masukomi opened this issue Jun 15, 2018 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@masukomi
Copy link
Owner

let's say we convert <ESC>[38m to <span style="color: red; "> for educational and debugging purposes it would be useful to know what color code created the span. This is especially true with the more obscure / exotic color codes and compound ones like [38;2;252;0;37m

suggested output would be <span style="color: red; " escape_code="[38m">

this would NOT be on by default. As far as i know no escape codes use " or ' so we shouldn't have to worry about the contents of the attribute screwing up the quoting.

@masukomi masukomi added enhancement New feature or request good first issue Good for newcomers labels Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant