Skip to content

Added Invoke-ScreenHtmlAndCss Function #4

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

Merged
merged 5 commits into from
May 25, 2023

Conversation

I-Am-Jakoby
Copy link
Contributor

The Invoke-ScreenHtmlAndCss function will capture the current console and convert the output to HTML

You can use this to take your code sample and put it on your website whatever and have it look the same but you can copy the text as well

I-Am-Jakoby and others added 3 commits May 23, 2023 12:07
…param is not provided. Try make the gutter non-selectable text so you can copy from the html page
@ShaunLawrie
Copy link
Owner

@I-Am-Jakoby you want to give this a spin? I tried making the gutter text non-selectable so you can easily copy from the html version without copying all the line numbers, I'm not sure if it was worth it 🤷‍♂️😅
image

Nice additions! The colors will export properly when I sort out #2, once that's done there will be a virtual buffer to read from instead of the terminal buffer so you can get the proper RGB values.

@ShaunLawrie ShaunLawrie merged commit fd3afb3 into ShaunLawrie:main May 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants