dsh-latex
Renders LaTeX math in the DeepSeek Harness chat view and makes the model write $...$ / $$...$$ instead of fenced code blocks. 适合需要在DSH中频繁阅读和书写LaTeX数学公式的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sbVAN/dsh-latexドキュメント
README 全文を読む ↗Configuration
- insert:
- id: latex
name: dsh-latex
config:
strict: true
compact: false
locale: zh
extraRules:
- Write water as $\mathrm{H_2O}$, never \ce{}.
| Key | Default | Meaning |
|---|---|---|
enabled | true | Disables the prompt section entirely (the browser half still runs) |
locale | auto | zh / en / auto (auto follows DSH_LOCALE, LANG, defaulting to Chinese) |
strict | true | true forbids fenced formulae; false only recommends |
compact | false | Shorter prompt, roughly 1/3 of the tokens |
order | 145 | Section order inside the system prompt (tool guidance owns 100–199) |
extraRules | [] | Extra bullet lines appended to the contract |