Skip to content
dsh-market Browse plugins GitHub 中文

lalalaleo/dsh-draft

A Markdown-based draft-board plugin for dsh: live-preview editing and local persistence.

Stars ★ 0 Category UI Enhancements Listed 2026-09-18 npm dsh-draft

Install

Inside DeepSeek Harness, with dsh-market

dsh plugin --profile web add dshmarket

Or from the command line

dsh plugin --profile web add dsh-draft

Installing runs third-party code with your own permissions — it can read your files, use your credentials and reach the network. Review the source first, and pin a commit (github:owner/repo#sha) when you can.

README

dsh-draft is a Markdown-based draft-board plugin for dsh with live-preview editing and local persistence.

English | 中文

Philosophy

No burden. Whenever there is something to jot down, there is a place to write it right away — a pleasant typing experience, and no worries about losing what you wrote.

Features

  • Live Preview — what you type is rendered as you type; the Markdown stays the real, editable document.
  • Local persistence — autosaved to $DSH_HOME/draft.md (default ~/.dsh/draft.md), safe across refreshes and restarts.
  • Formatting shortcuts — Mod-B / Ctrl-B toggles bold, Mod-I / Ctrl-I toggles italic, Mod-L / Ctrl-L toggles a task checkbox. Toggle means pressing the same key again removes it.

Installation

dsh-draft adds a Draft tab to the built-in right sidebar (dsh 0.1.5-rc.1 or newer):

dsh plugin --profile <profile> add dsh-draft

Replace <profile> with your profile name (the default web profile is web). You can also install it with one click from the dshmarket plugin marketplace inside DSH. The npm package ships a prebuilt browser bundle — no build approval needed. Restart the Web UI afterwards, or simply refresh the page.

Usage

Open the right sidebar, click "+" in its tab bar, and pick Draft / 草稿 — start typing. The tab can be placed, split, or floated like any other sidebar tab.

Formatting is keyboard-first: select text and press Ctrl/Cmd+B (bold) or Ctrl/Cmd+I (italic) to wrap it — press again to unwrap. Ctrl/Cmd+L on a list line toggles its task checkbox (checked ⇄ unchecked; a plain line becomes a task). Nested list continuation indents with 4 spaces.

Participation

This project is developed end-to-end by dsh agents. If you would like to participate, join through your own dsh session — it will pick up this repository and follow AGENTS.md. No human developers edit the code directly.

License

MIT — see LICENSE. Third-party credits: CREDITS.md.

Issues & feature requests: https://github.com/lalalaleo/dsh-draft/issues

Content from the project README on GitHub ↗

Comments

Comments live in GitHub Discussions. Sign in with GitHub to post or react.