Copy code to clipboard

This issue has been tracked since 2023-01-29.


Would TypeDoc be open to adding a button inside of code blocks that can copy code to clipboard similar to GitHub and Docusaurus?

GitHub example:

Screen Shot 2023-01-28 at 7 57 49 PM

Docusaurus example:

Screen Shot 2023-01-28 at 7 58 31 PM

Suggested Solution

I created a plugin typedoc-plugin-copy-code-to-clipboard (see docs) but it would be nice if TypeDoc natively supported this.

Search Terms

copy code block to clipboard

More Details About Repo
Owner Name TypeStrong
Repo Name typedoc
Full Name TypeStrong/typedoc
Language TypeScript
Created Date 2014-05-24
Updated Date 2023-03-19
Star Count 6487
Watcher Count 68
Fork Count 639
Issue Count 48


Issue Title Created Date Updated Date