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

Color tags #87

Open
ITMonkey78 opened this issue Dec 24, 2021 · 1 comment
Open

Color tags #87

ITMonkey78 opened this issue Dec 24, 2021 · 1 comment

Comments

@ITMonkey78
Copy link

Great tool. I've already found a use for it within our small team to organize our scripts
The support of color output however i feel could be better implemented.

I don't really want to have to re-write all my scripts to add in your color 'tags', especially if the same scripts might be ran outside of your tool in regular PS consoles which would break the color output of a normal write-host.
From a quick look through your source code it seems like you're parsing the scripts looking for your new tags and converting it to html spans.
Would it not be easier to parse any write-host commands in the scripts for the -foregroundcolor or -backgroundcolor parameters and if they're found your code can convert the colors into your html span tags for the output?

@akshinmustafayev
Copy link
Owner

akshinmustafayev commented Dec 24, 2021

Dear ITMonkey78,

Thanks for the suggestion. I actually thought about that, but don`t know how to do that.
I would be thankful if you provide me methods\ways\code\or whatever solution of how I can achieve that.

Repository owner deleted a comment from devsquadcore Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants