Comment

Comment by adampzakaria

Hi everyone!

I made an easy to use component to display code with syntax highlighting and a clipboard users can click to copy the code to their clipboard. The design is based on OpenAI's component in ChatGPT, and can be styled further. The component can also be used to display text without syntax highlighting.

Please give it a try and give feedback :)

https://www.npmjs.com/package/copy-container-react

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton