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

Script or Code highligther / prettifier for clipboard #1280

Open
3 tasks done
jbvernejoux opened this issue Sep 3, 2024 · 2 comments · Fixed by sunnydanu/godev.run#265 · May be fixed by #1319
Open
3 tasks done

Script or Code highligther / prettifier for clipboard #1280

jbvernejoux opened this issue Sep 3, 2024 · 2 comments · Fixed by sunnydanu/godev.run#265 · May be fixed by #1319
Labels
enhancement New feature or request triage

Comments

@jbvernejoux
Copy link

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

A (common) programming languages or scripts code syntax highlighter / prettifier for clipboard .

A simple tool to :

  • paste some piece of code (say 50 lines max) - script, shell command-line or code snippet
  • choose or detect the language
  • display it with syntax highlighting (with some various colors themes).
  • copy it back in clipboard once prettified

Very usefull to paste some script / code snippet in office apps (like Microsoft Word ou libre office) to create 'old-school' IT documentation or white paper.
Avoid the need to use VisualCode or others Editors as intermediaite, just for some lines.

You have already made some prettifier for JSON or YAML, it could be the same but upgraded to other scripts or programming languages.

PS: great job for all theses tools in it-tech ! Bravo !

Is their example of this tool in the wild?

One example that I use some time with to paste command lines in MsWord,
simple, full client side javascript and open-source:
https://syntax-highlighter.k26.ch/ ( https://github.com/Nicicalu/syntax-highlight )

Additional context

No response

Validations

  • Check the feature is not already implemented in the project.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
@jbvernejoux jbvernejoux added enhancement New feature or request triage labels Sep 3, 2024
@jbvernejoux jbvernejoux changed the title A (common) script or programming languages code highligther / prettifier for clipboard Script or Code highligther / prettifier for clipboard Sep 3, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Sep 28, 2024
@sharevb sharevb linked a pull request Sep 28, 2024 that will close this issue
sharevb added a commit to sharevb/it-tools that referenced this issue Oct 20, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Oct 20, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Oct 20, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Oct 20, 2024
@sharevb
Copy link
Contributor

sharevb commented Oct 27, 2024

Hi @jbvernejoux and @CorentinTh, implemented in #1319

@sharevb
Copy link
Contributor

sharevb commented Nov 24, 2024

Hi, for people interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

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