sbVAN/dsh-latex ↗★ 0

dsh-latex

在对话视图中渲染并规范LaTeX数学公式 适合需要在DSH中频繁阅读和书写LaTeX数学公式的用户。

包名
dsh-latex
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月19日

同名包的其他仓库

安装

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

Configuration

- insert:
    - id: latex
      name: dsh-latex
      config:
        strict: true
        compact: false
        locale: zh
        extraRules:
          - Write water as $\mathrm{H_2O}$, never \ce{}.
KeyDefaultMeaning
enabledtrueDisables the prompt section entirely (the browser half still runs)
localeautozh / en / auto (auto follows DSH_LOCALE, LANG, defaulting to Chinese)
stricttruetrue forbids fenced formulae; false only recommends
compactfalseShorter prompt, roughly 1/3 of the tokens
order145Section order inside the system prompt (tool guidance owns 100–199)
extraRules[]Extra bullet lines appended to the contract