-
Notifications
You must be signed in to change notification settings - Fork 27
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
ConvertTo-HTML table to output #17
Comments
I'll add this as a feature to consider. I'll have to do some testing to see if it exposes any js injection vulnerabilities. |
Any way to do table formatting would be great. Currently when I try to color items in an object by wrapping an item in '[[span|psred|SOMETEXT]]' it messes up the format-table -AutoSize when the span is replaced on output. |
It is possible, albeit only using multiple [[span]] together with different CSS classes (which you can conveniently style in psoutput.css) to essentially fake the table. Here is what I do (where
Now in the psoutput.css file you can style the classes, for example:
|
That's really cool. I just tried it out and like it. The only problem is that it doesn't handle a link in a table-body-cell. |
Hi,
Is it possible to do ConvertTo-HTML -Fragment inside PS and pass it to web page? I would love to give users some tables, but i don't see simple way to do so.
And if there would be .pstable in PsOutput.css it would be a master piece.
The text was updated successfully, but these errors were encountered: