logoalt Hacker News

Show HN: CLI tool to convert Markdown to rich HTML clipboard content

8 pointsby letientai299today at 7:05 AM3 commentsview on HN

At work I need to use Teams. It supports a few Markdown features, but the editing experience for long message isn't smooth. So, I often write in nvim, preview it in the browser and then copy paste to Teams. This tool help me get rid of the review and copy step.

Build with Rust + Claude Code. Tested on Windows and Mac, should works on Ubuntu as well.

Caveats: it's still up to the pasted app to handle the HTML clipboard content.


Comments

roxolotltoday at 1:08 PM

I’d highly recommend pandoc[0] if you need markdown conversion. Basically converts from everything and any markdown style to everything else. And then for clipboard just use `| pbcopy` on a Mac or `| xsel -ib`. Full command on a Mac would just be `pandoc README.md -t html | pbcopy`. If you want a docx you can get that too.

0: https://pandoc.org/

show 1 reply
dhruv3006today at 7:13 AM

Interesting - I think this can go with Voiden.

We are a offline API client using Markdown.

Take a look here maybe : https://github.com/VoidenHQ/voiden/