Introduction¶
Constantly jumping back and forth, copying, and pasting key paragraphs in long conversations is a common manual burden when using LLM assistants. DeepSeek Harness (DSH) already provides a sidebar plugin capability, but it lacks a dedicated feature to pin a response, read it alongside in rendered Markdown form, and quickly quote it back into the chat editor.
dsh-pin-bookmarks fills this gap. It adds a right-side bookmark panel to DSH, allowing you to “pin” an assistant response in the sidebar, view it as rendered Markdown, and then select a fragment with a single click to insert it as a quote into the main editor.
What It Is¶
dsh-pin-bookmarks is a client-side plugin maintained by zbh13782-lang. Its core responsibilities are:
- Pin a completed assistant response to the right-side bookmark panel;
- Display the response in the sidebar as rendered Markdown;
- Support drag-selection of fragments, with a “Send to Chat” click to insert the fragment as a quote into the main editor;
- Mark pinned responses with colored indicators in the left-side turn navigator.
Core Features¶
1. Bookmark Pinning and Panel¶
- In the action row of each assistant response, there are two icon entries:
- ☆ Star: Pin the current response to bookmarks without opening the right-side panel;
- → Arrow: Pin the current response and open the right-side bookmark panel, navigating to the “Bookmarks” tab.
- You can also open the panel via the bookmark icon in the session header, then click “+ Paste Text” at the bottom to paste any content as a bookmark.
- Each bookmark is displayed as a card, with the title, timestamp, and type (Reply / Excerpt) shown in the card header.
2. Markdown Rendering and Collapsing¶
- Bookmark content is displayed as rendered Markdown, with supported elements including:
- Headings, lists (single-level nesting), blockquotes, tables, and horizontal rules;
- Bold, italic, strikethrough, inline code, and links;
- Syntax-highlighted code blocks (using the theme’s shiki palette).
- Not supported: math formulas, Mermaid diagrams, raw HTML, and images — these will be displayed as plain text.
- Supported code block tags include:
js/jsx/ts/tsx(includingmjs/cjs/mts/cts/javascript/typescript),py/python/py3,go/golang,rs/rust,sh/bash/zsh/shell/console,sql(includingmysql/sqlite/postgres/psql),json/jsonc,yaml/yml. - Cards are expanded by default; clicking “Collapse” shrinks them to a 120px scrollable preview.
3. Fragment Quoting and Send to Chat¶
- In a bookmark card, drag to select a portion of text (at least two characters), and upon releasing, a “→ Send to Chat” pill button appears.
- Clicking the pill inserts the selected fragment into the chat’s main editor, triggering the editor’s “Insert Quote” action. You can append a question here and send it.
- If no text is selected, clicking “Ask” on the card will send the entire bookmark content as a quote.
- Quote length is limited:
- For pinned responses: up to 2000 characters;
- For manually selected or pasted text: up to 6000 characters.
- Excess content is marked as
… (truncated), displayed as…(omitted)in the Chinese interface.
4. Turn Navigator Markers¶
- In the left-side turn navigator, pinned responses are marked with a colored indicator:
- Default width 26px, height 4px — thicker and longer than the standard turn marker (max 20px);
- Each pinned response is assigned a color from a 6-color bright palette; new hues are generated once exhausted.
- Markers only apply to currently loaded turns; multiple pinned responses within the same turn share that turn’s marker.
- Marker appearance can be configured in panel settings:
- Use a unified color (off by default; a color picker appears when enabled);
- Use a unified length (on by default, 22–28px slider, default 26px);
- A live preview is provided.
5. Cross-Session Persistence and Data Management¶
- Bookmark data is stored in the browser’s
localStoragewith the key formatdsh-pin-bookmarks:v1:<sessionId>. It persists across page refreshes but is cleared when site data is cleared. - Turn marker appearance preferences are stored in
dsh-pin-bookmarks:rail-settings:v1. A single change affects all sessions and windows on the device, with no refresh needed. - Each session retains at most 40 bookmarks; the oldest are automatically discarded when the limit is exceeded.
- Each write merges with existing storage rather than overwriting the cache, so refreshing the page between two writes will not lose bookmarks.
- Bookmarks pinned before version 0.1.3 only recorded a “pin time.” Starting from 0.1.3, pinned responses record a “response time” and excerpts record a “save time.”
Installation and Activation¶
Download the pre-built archive from the latest release page, or install directly from the repository:
dsh plugin --profile <
(The full installation command is not shown in the reference material; it is recommended to obtain the complete command from the official repository’s latest release page.)
After installation, the plugin is automatically injected into DSH’s client-side logic. You will see the new star and arrow icons on assistant response lines in your sessions.
Typical Workflow¶
- At the bottom of a long assistant response, locate the star (☆) or arrow (→) icon.
- Click the arrow. The right-side bookmark panel opens, rendering the current response as Markdown.
- In the panel, drag to select a paragraph you want to question, then click the “→ Send to Chat” pill.
- The fragment is inserted as a quote into the main editor. You can append a question afterward and send it.
Use Cases and Caveats¶
- Ideal for scenarios requiring repeated reference to long responses and questioning specific fragments, such as code example explanations, reading long tutorials, or cross-referencing technical documentation.
- The plugin runs in the DSH process’s client-side environment. It is recommended to review its source code and license before installation.
- Bookmark and marker functionality depends on browser storage and session state. Clearing site data or switching browsers will result in bookmark loss.
- Code block syntax highlighting depends on the DSH theme’s shiki palette; rendering may vary slightly across different themes.
In Short¶
dsh-pin-bookmarks provides DeepSeek Harness with a lightweight, Markdown-centric right-side reading board, making it easier and less repetitive to review and quote long responses. Learn more via the catalog page or the GitHub repository below.
- Catalog: https://www.skillhub.cn/plugins/zbh13782-lang/dsh-pin-bookmarks
- GitHub: https://github.com/zbh13782-lang/dsh-pin-bookmarks