DeepSeek Harness Plugin

mengnanxyyyy/dsh-markdown-xyy

Stars ★ 8 Downloads (30d) 1,956 Category Themes & Appearance Added 2026-09-02 npm dsh-markdown-xyy

Reads AI conversation text faster and makes key points easier to catch — clearer than the default theme. Chat text in DSH is flat by default: headings, quotes, emphasis, code and tables all sit at one level, so long conversations are hard to scan. This lightweight theme plugin separates those layers with color and typography: 4 built-in themes with light and dark variants that follow the system, your own theme as a CSS file dropped into a folder, and a built-in editor with syntax highlighting and save-time validation — the choice survives reloads and new tabs. Colors and Markdown hierarchy only — fonts and message spacing stay with DSH. Also ships a version-history panel. Windows and DSH Desktop supported.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-markdown-xyy

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:mengnanxyyyy/dsh-markdown-xyy

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Theme the Markdown in your DeepSeek Harness conversations — 4 built-in themes (light/dark), user-defined themes, and a version ledger for the plugin itself.

Theming your DeepSeek Harness conversations changes one thing first: you read faster. A long chat can be scanned for what matters — headings, quotes, key points and code each sit where your eye expects them.

The reason is simple: with the native styling, a wall of text looks flat — everything leans on default typography, and the denser the text, the easier it is to lose the thread. This plugin pulls the layers apart: key points get color, headings and quotes stand apart at a glance, code blocks and tables stop blending into the prose. Light and dark variants follow the system appearance, and the product’s default theme is never touched.

Themes only handle colors and the Markdown element styling; fonts and message spacing stay with DeepSeek Harness (pick your font in Settings → Appearance).

Versions & compatibility

This project Aligned DeepSeek Harness version
v2.2.1 0.2.2-rc.1

Theme previews

Strawberry Mocha strawberry-mocha Cyber Titanium cyber-titanium
Strawberry Mocha Cyber Titanium
Velvet strawberry × Catppuccin Mocha nights, the reference implementation Space Black × anodized titanium purple × electric cyan × cool silver
High-Vis Clarity high-vis-clarity Pine Smoke Ink pine-smoke-ink
High-Vis Clarity Pine Smoke Ink
High-contrast cool white × pure sky blue × golden accents, built for low-gamut displays Ink-stick incense × cinnabar × misty indigo × rice-paper cool white

Previews live in screenshots/; overwrite the same filenames to swap images.

Features

  • ✔️ 4 built-in themes, each with light / dark variants; ☀️ / 🌙 / 🖥️ appearance modes follow the system
  • ✔️ Persistent theme choice: your selected theme is remembered (localStorage) and restored after refresh, a fresh page, or a restart — and synced across open tabs in real time
  • ✔️ Drop-in user themes: put a CSS file into ~/.dsh/web-themes-xyy/ (Windows: %USERPROFILE%\.dsh\web-themes-xyy\) and it becomes a theme — no packaging, no plugin upgrades
  • ✔️ Live theme editor: create / edit user themes in Settings with syntax highlighting, one-click formatting, and double-side CSS validation
  • ✔️ Element-level progressive styling: :where() zero-specificity overrides only touch bare Markdown elements; explicit product styles always win
  • ✔️ Immutable version ledger: every iteration is one immutable Package; current version and full history are shown in the run card, rollback anytime
  • ✔️ One-command permanent install: from the npm registry (dsh plugin add dsh-markdown-xyy), GitHub as fallback, survives restarts

Quick start

Prerequisite: a running DeepSeek Harness (dsh web). No runtime dependencies, no npm install needed.

Permanent install (recommended, survives restarts)

Install directly from the npm registry (published: dsh-markdown-xyy):

dsh plugin --profile web add dsh-markdown-xyy

Or follow the latest GitHub main (handy while a mirror hasn't synced the new npm package yet):

dsh plugin --profile web add github:mengnanxyyyy/dsh-markdown-xyy

Desktop app (DSH Desktop) — every DSH profile carries its own plugins, and the Desktop uses its own desktop profile. Install from the in-app Plugins page, or first register the bundled CLI via the app menu (Manage dsh command → Install), then run:

dsh plugin --profile desktop add dsh-markdown-xyy

Restart the Desktop app afterwards. Works on Windows, macOS and Linux.

Then open Settings → Theme Settings: switch between "System native" and the 4 built-in themes, or create / edit user themes.

🎨 Custom themes (copy-paste with AI, re-skin in 3 minutes)

A theme is essentially a CSS file: editing it re-skins the UI — no code changes, no plugin upgrade, and it takes effect on refresh after save / drop-in.

Way 1 — let AI do it (fastest, recommended)

  1. Open Settings → Theme Settings → New user theme, pick a base theme closest to your taste (default: Strawberry Mocha; the dropdown also offers Titanium / High-Vis Clarity / Pine Smoke Ink).
  2. Copy the whole CSS from the editor and paste it into any AI (DeepSeek / ChatGPT / Claude).
  3. Tell it what you want, e.g.:
You are a CSS theme expert. This is the complete CSS of a DSH conversation Markdown theme —
keep the file structure intact:
[paste the whole editor CSS here]
Restyle it as "cyberpunk": ① change --mdvr-accent and the --dsw-alias-* tokens to neon
purple + electric cyan ② make the background deep black ③ add a neon outline to code blocks.
Keep the three-section structure (body / body[data-ds-dark-theme] / :where()) and every
variable name: change values only, never the variable list. Output the complete CSS so I
can paste it straight back into the editor and save.
  1. Paste the AI's full CSS back into the editor → Save → the new theme appears in the list immediately (the plugin validates CSS syntax before saving and rejects broken output with a reason).

Way 2 — hand-write / drop a file

  • A theme is a three-section CSS: ① light body {…} ② dark body[data-ds-dark-theme] {…} ③ element overrides :where(). See the reference implementation plugin/assets/themes/strawberry-mocha.css (fully commented).
  • Drop-in: save it as ~/.dsh/web-themes-xyy/<your-name>.css (Windows: %USERPROFILE%\.dsh\web-themes-xyy\<your-name>.css), then click "Refresh user themes" in Settings.
  • 90% of a re-skin is a handful of key variables (full contract in docs/variables.md):
    • --dsw-alias-bg-base / --dsw-alias-bg-layer-1 … background & surface layers
    • --dsw-alias-brand-primary brand / accent color
    • --mdvr-accent theme accent, --mdvr-link-* links, --mdvr-code-* code, --hl-* syntax highlighting

Full spec: docs/themes.md | Variable contract: docs/variables.md

Project layout

dsh-markdown-xyy/
├── README.md / README.en.md     # Chinese / English README
├── AGENTS.md                    # project conventions for agent contributors
├── LICENSE                      # MIT
├── package.json                 # installed-package manifest (main=lib/index.mjs, exports ./client)
├── cordis.patch.yml             # dsh bundle plugin row (mounted via dsh plugin add)
├── screenshots/                 # theme preview images (README gallery)
├── docs/                        # architecture / themes / variables / capabilities / development / platform
├── manifest/
│   └── versions.json            # persisted version ledger
├── lib/
│   └── index.mjs                # installed Host half (generated)
├── client/
│   └── client.js                # installed Client half (__ModuleLoader__, generated)
├── plugin/
│   ├── host.js                  # Host half source mirror (ledger + theme-asset RPC)
│   ├── client.js                # dynamic-mode Client half artifact (do not hand-edit)
│   ├── src/client.core.js       # Client half source (single editable source)
│   └── assets/                  # panel.css / themes/ (4 built-in themes)
└── scripts/
    ├── build-client.js          # dynamic-mode artifact build
    ├── build-installed.js       # installed-mode halves build
    ├── check-release.js         # release gate
    └── minify.js                # safe minification for define transport

Docs

Doc What it covers
docs/architecture.md Architecture: halves, version model, theme pipeline, dual channels
docs/themes.md Theme system: capability boundary, file format, user themes
docs/variables.md Variable contract: L0 tokens / L1 colors / L2 constants / L3 knobs
docs/capabilities.md Capability list and roadmap
docs/development.md Development & release flow (one iteration = one Package)
docs/platform.md Cross-platform & Desktop: asset chain / support matrix / verification steps

Development

The iteration loop bump MANIFEST → build → define → run → verify → tag is documented in docs/development.md. Before releasing, run the release gate:

node scripts/check-release.js

License

MIT © 2026 dsh-markdown-xyy contributors

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.