DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

lalalaleo /

lalalaleo/dsh-draft

已验证

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

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@3604596d

dsh-draft

npm version license npm downloads GitHub stars

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

—/ 5

暂无评分

已验证 DSH bundle

Commit 3604596d4c05

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于