DEV Community

Cover image for Smart-Docs Copy to Clipboard
Kevin Lin
Kevin Lin

Posted on

Smart-Docs Copy to Clipboard

A high-performance Tampermonkey userscript that enhances smart-docs API documentation pages by adding convenient "Copy" buttons to automatically extract and format API documentation as clean, readable Markdown with JSON examples and inline comments.

Installation

  1. Install Tampermonkey browser extension
  2. Click on the Tampermonkey icon and select "Create a new script"
  3. Copy the entire content from smart-docs-copy.user.js
  4. Paste it into the Tampermonkey editor
  5. Save (Ctrl+S or Cmd+S)

The script will automatically run on your smart-docs pages!

GitHub

Top comments (0)