All plugins

DSH / BUNDLE / CLIENT-UI

dsh-latex

v0.1.1sbVAN / dsh-latexc2acd108f1

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-latex

Renders LaTeX math in the DeepSeek Harness chat view and makes the model write $...$ / $$...$$ instead of fenced code blocks.

README / EN

Package documentation

Registry summary

Renders LaTeX math in the DeepSeek Harness chat view and makes the model write $...$ / $$...$$ instead of fenced code blocks.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **No math while streaming** — that is the frontend's deliberate behaviour and this plugin does not fight it. - **Only `latex` / `tex` fences are handled** — `math` fences are already rendered upstream. - **No mhchem** — `\ce{}` / `\pu{}` still fail; the prompt routes them to `\mathrm{}`. - **No `conversation.chat.node` takeover** — replacing the assistant renderer means duplicating the whole message structure and breaks on upstream upgrades. - **No history rewriting** — the prompt constrains future output only; old sessions are covered by the browser half. - **A bare `|` in a table cell breaks the formula** — GFM reads it as a column separator, so `$\oint_{|z|=1}$` gets split across cells and renders as raw text. The prompt now requires `\vert` / `\lvert ... \rvert`; messages already sent cannot be repaired because the table was split at parse time. > Note: the browser half anchors on `.md-code-block` and reads the language from > the header banner, because the rendered code block carries no `language-*` > class on `pre`/`code`. See `lib/client.js` for the exact DOM contract.