Giter Site home page Giter Site logo

Comments (1)

jbienzss avatar jbienzss commented on July 23, 2024

I was debating opening another issue, but I'll go ahead and add to this one.

I greatly appreciate the option to copy rich text and paste as Markdown, but I often need to go the other way around. I need to copy markdown and paste as Rich Text.

My main use case is copying from ChatGPT. If I select the text from ChatGPT and paste it into Word or OneNote, I get pretty messy output. ChatGPT seems to use tables and other HTML trickery to get its formatting. But if I use the copy button at the bottom of a response, it copies in markdown. This formatting is good but I don't have an easy way to paste it into Word or OneNote. I'm aware there are addins for each of those programs to handle markdown, but those are program specific. I would much rather be able to copy markdown and paste rich text into any program that supports it.

Thanks!

P.S. If anyone else needs Markdown to Rich Text on the clipboard, I found a workaround outside of PowerToys. With Pandoc installed, this one-line PowerShell script will do:

Get-Clipboard | pandoc -f markdown-smart -t HTML | Set-Clipboard -AsHtml

I created a shortcut to that script on my start menu which also allows me to give it a keyboard shortcut. This will get me by for now, but I'd still love to see this in Advanced Paste.

from powertoys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.