AI Agent Hub
Back to plugins
🖥️

dsh-math-copy

Client Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install Blackspace2/dsh-math-copy

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Blackspace2/dsh-math-copy in your terminal to install the plugin from GitHub; source repository: https://github.com/Blackspace2/dsh-math-copy

About this plugin

Rendered KaTeX formulas in DeepSeek Harness conversations are easy to read but hard to reuse. dsh-math-copy turns that friction into a single click: left-click copies the formula as $$...$$, right-click (or Shift+F10) opens a small menu where you can switch between $...$, $$...$$, and [...] formats, all navigable with arrow keys and closed with Escape.

The plugin reads the original LaTeX straight from KaTeX application/x-tex data rather than reverse-engineering on-screen text, so inline math, display math, and even KaTeX error nodes all yield accurate source. It also picks up formulas that appear during streaming output and fully tears down listeners and DOM changes on unload or hot-reload. If the modern Clipboard API is blocked by browser permissions, it silently falls back to execCommand so copying never breaks.

Ideal for students, researchers, and engineers who frequently copy math from DSH chats into LaTeX documents, Markdown notes, or whiteboards.

Use Cases

  • Copy a rendered math formula into a LaTeX paper or Markdown note with one click
  • Capture formulas as they stream in and pick the desired export format
  • Complete the entire copy workflow with keyboard shortcuts alone

Best For

  • Students who regularly reference math formulas from chat
  • Researchers composing formula-heavy documents
  • Engineers who need to extract formulas quickly from DSH