liuup/dsh-latex-tools0

dsh-latex-tools

在 DeepSeek Harness Web UI 中悬停 LaTeX 公式以复制 TeX 源码或将其导出为独立 SVG 图片的插件。

AI 分析

核心用途是便捷提取和导出数学公式。适合在学术、科研或教学场景下使用 DSH,需要频繁复制对话中的 LaTeX 公式源码或将其保存为矢量图的用户。

套件
dsh-latex-tools
版本
0.1.1
授權
MIT
最近更新
2026年8月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liuup/dsh-latex-tools

安装

要求:安装 Node.js,然后直接用官方 npm 方式运行(无需全局安装):

npx @deepseek-ai/dsh web

插件装进 profile 后随 Web UI 启动自动加载,无需手动启用;Settings → Plugins 列表只显示有配置项的插件,本插件没有配置项,不会出现在那里。

一键 npm 安装

npx @deepseek-ai/dsh plugin --profile web add dsh-latex-tools

安装的是预构建产物,无需本地构建、无需任何额外配置,装完重启 Web UI 即可。

验证安装

npx @deepseek-ai/dsh --profile web --dump-config   # 应看到 "# == dsh-latex-tools" 层

### 验证安装

```sh
npx @deepseek-ai/dsh --profile web --dump-config   # 应看到 "# == dsh-latex-tools" 层

### 从 GitHub 安装(无需本地构建)

```sh
npx @deepseek-ai/dsh plugin --profile web add github:liuup/dsh-latex-tools

git 安装拉取的是源码,pnpm 会自动执行包内的 prepare 脚本完成构建。pnpm ≥10 默认拒绝运行 git 依赖的 prepare首次 add 会失败——dsh 会打印指引:按提示把对应条目加入 profile 的 pnpm-workspace.yamlallowBuilds 段),然后重跑上面的命令。生产使用建议 pin 提交:github:liuup/dsh-latex-tools#

本地源码安装(开发/自用)

git clone https://github.com/liuup/dsh-latex-tools.git
cd dsh-latex-tools
pnpm install && pnpm build          # 构建出 lib/(产物已被 gitignore,必须本地构建)
npx @deepseek-ai/dsh plugin --profile web add link:/absolute/path/to/dsh-latex-tools
npx @deepseek-ai/dsh web            # 启动 Web UI