dsh-math-copy:在 DSH Web UI 中复制公式的 LaTeX 源码
dsh-math-copy 是 YizhouLouisLu 维护的 DSH 客户端插件。Web UI 用 KaTeX 渲染公式时,默认复制会得到 glyph 文本而非 TeX;插件监听 copy 事件,从 annotation 取 LaTeX,按配置加行内/块级分隔符写入剪贴板,无公式选区不受影响。安装使用 README 中的 plugin_manager install_bundle,装后重载 Web UI;host 改动需重启 DSH。三项配置可在插件页 math-copy 行修改。已在 dsh core 0.2.0-rc.2 验证。
Read Moredsh-math-copy: Add accessible copy interaction for DeepSeek Harness Web formulas
`Blackspace2/dsh-math-copy` is an MIT-licensed plugin designed for the DeepSeek Harness (DSH) Web client, aiming to address the difficulty of directly copying LaTeX source text from rendered formulas. The plugin automatically identifies inline, display, and malformed KaTeX formulas within DSH, retrieving the original LaTeX by reading `application/x-tex` annotations rather than inferring from the visual appearance. Users can directly copy to `$$...$$` format via a left-click, or right-click to open a menu and select `$...$`, `$$...$$`, and `\[...\]` block formats. Keyboard operations are supported (Enter/Space to copy, Shift+F10 to invoke the menu). The plugin features hover...
Read More