liuup/dsh-latex-tools
♾️ Copy and export the LaTeX in DeepSeek Harness Hover any LaTeX formula to copy the TeX source code or export it as a separate SVG file
Adds hover actions to every rendered LaTeX formula in the DeepSeek Harness Web UI: hovering a formula shows a small toolbar with a copy button (copies the raw TeX source to the clipboard) and an export button (renders the formula to SVG or PNG via MathJax and downloads the file). Works on both inline $...$ and display $$...$$ LaTeX without any configuration — the plugin detects rendered math blocks from the chat renderer automatically.
Install
dsh plugin --profile web add dsh-latex-toolsdsh plugin --profile web add dsh-latex-tools (npm dsh-latex-tools 0.1.2, repo liuup/dsh-latex-tools, verified npm 2026-08-30).
Compatibility
DSH web profile; CSS hover overlay on rendered LaTeX blocks; export to SVG or PNG via MathJax; MIT.
Details
- Repo: liuup/dsh-latex-tools
- Category: Coding & Development
- Stars: 7
- Version: npm dsh-latex-tools 0.1.2
- Last push: 2026-08-14
- First seen: 2026-08-13
Recent updates
Hover-to-copy TeX source from rendered LaTeX; SVG/PNG export via MathJax; zero config; inline and display math supported.
FAQ
- Does it require a MathJax API or CDN?
- For SVG/PNG export it calls MathJax to render — by default this may hit the MathJax CDN, but DSH's own math renderer is already loading MathJax so no extra network request is made if MathJax is already cached.
- Does it work on formulas inside code blocks?
- It targets rendered LaTeX blocks (those processed by DSH's math renderer into display elements) — raw TeX inside code fences ( ) is not processed by the math renderer and will not get the hover toolbar.
- Can I copy the TeX without rendering it again?
- Yes — the copy action reads the original TeX source that DSH stored during rendering, so no re-render is needed just to copy.
Alternatives
taxueseek/dsh-files · ben7am1n/dsh-lens-lite · urzeye/dsh-outline