DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-markdownize

Markdownize

将文档(PDF、Word、PowerPoint、Excel、HTML、CSV、JSON、ZIP……)转换为 Markdown,供 LLM 读取。内置 JavaScript 引擎;如果已安装 Microsoft MarkItDown,则使用 Microsoft MarkItDown。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Gorkaseto/dsh-markdownize#efccbcc4b158c6a4f96c6727c3384dc32ee073a3
README兼容性版本

兼容性与来源证明

Markdownize 以 dsh-markdownize 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/24

版本

0.2.0stable
2026/10/24
0.1.0stable
2026/10/22

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
Apache-2.0
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/10/24
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-markdownize

A DeepSeek Harness (dsh) plugin that converts documents to Markdown so an LLM can read them.

Models work best with plain text. A PDF, a Word file or a spreadsheet read as raw bytes is noise to them. Markdown keeps the structure (headings, lists, tables, slides, pages) while staying compact and easy to read. This plugin gives the agent a convert_to_markdown tool that does that conversion locally. You can also preview a conversion yourself before anything is sent to the model.

What it does

  • convert_to_markdown tool. The model calls it with a local file path and gets the document back as Markdown, truncated to max_chars (100,000 by default).
  • Two conversion engines. You pick one on the plugin's page:
    • its own engine, a pure-JavaScript port of MarkItDown's offline converters, bundled with the plugin and always available;
    • Microsoft MarkItDown (Python), used when it is installed.
  • Images in DOCX and PPTX. Embedded images become [Image N: alt text] markers. When the current model accepts images, each image is sent right after its marker.
  • Debug mode. Preview the Markdown a file turns into from the web composer (Ctrl+Shift+M). Nothing is sent to the model.

Supported formats

FormatOwn engine (JS)Microsoft MarkItDown
PDFyes (text per page)yes
Word .docxyesyes
PowerPoint .pptxyes (text and notes per slide)yes
Excel .xlsxyes (one table per sheet)yes
HTML / HTMyesyes
CSV / TSVyes (as a table)yes
JSON / XMLyes (fenced code block)yes
TXT / MDyes (as is)yes
ZIPyes (each supported file inside)yes
Excel 97 .xls, EPUB, Jupyter .ipynb, Outlook .msgnoyes

Conversion engines

Own engine (JavaScript)

convert.js mirrors MarkItDown's offline converters with Node libraries:

  • mammoth for DOCX;
  • exceljs for XLSX;
  • unpdf (pdf.js) for PDF;
  • turndown with GFM tables for HTML;
  • jszip and fast-xml-parser for PPTX and ZIP.

It needs no Python, no network and no child processes. The libraries ship pre-bundled in vendor/, so the plugin has no runtime npm dependencies. This matters because dsh installs local plugins as link: dependencies, and pnpm never installs a linked package's dependencies.

Microsoft MarkItDown

MarkItDown is Microsoft's Python tool for the same job. It gives the reference output and reads a few more formats. Install it with:

pip install "markitdown[all]"

The plugin looks for it on PATH as markitdown, py -m markitdown, python -m markitdown or python3 -m markitdown. If it lives somewhere else, such as a virtualenv's markitdown.exe, set its command on the plugin's page. Use double quotes around paths with spaces.

Choosing the engine

Open Plugins → dsh-markdownize. The page shows which engines were found. When both are available, choose:

  • Automatic (the default): MarkItDown when it is found, otherwise the JavaScript engine.
  • Always MarkItDown: conversions fail if it is missing.
  • Always JavaScript.

The choice and the custom command are saved in <dshHome>/storages/dsh-markdownize/settings.json, together with the image settings. They apply to both the tool and debug mode. MarkItDown is detected once per Host start; press Search again after installing it.

Images in documents

The JavaScript engine extracts the images embedded in DOCX and PPTX files (including those inside a ZIP). Each one leaves a marker where it sat: in the text for DOCX, after the slide's text for PPTX.

[Image 1: Sales by quarter]
[Image 2]
[Image 3: Company logo — same as image 1]
[Image 4: Vector logo — format not supported]

The plugin's page sets what happens next:

  • Send them to the model when it accepts images (the default). The tool checks the current model's declared input modalities, as the harness's read_image does. With an image-capable model, each image is stored as an attachment and sent right after its marker. With a text-only model, such as DeepSeek's, only the markers are sent, followed by a note saying why.
  • Text markers only. Images are never sent.

Most images per conversion (1–50, 10 by default) caps what one call sends, and never exceeds the harness's own per-message image limit. Images past the cap keep their marker with a note. The model can also pass include_images: false to get the markers only; it cannot override the settings.

Repeated images (a logo on every slide) are sent once. Icons smaller than 32 px on both sides are skipped when they have no alt text. PNG, JPEG, GIF and WebP are sent; EMF, WMF and TIFF keep a marker only. Debug mode always shows markers.

MarkItDown does not extract images, so these settings have no effect while it is the engine in use.

Install

The plugin needs no build step and no Python. For a web profile:

dsh plugin --profile web add ./dsh-markdownize
dsh --profile web --dump-config

The dump should show a # == dsh-markdownize layer. Then start the client:

dsh web

On the desktop profile, add it from the app's plugin manager as a local folder.

Debug mode (web client)

  1. Attach a compatible file to the composer, or mention one with @.
  2. Press Ctrl+Shift+M.

Each compatible attachment and @file reference is converted on the Host. @file paths are resolved against the Session's workspace. The full output, with no truncation, is written to <os tmpdir>/dsh-markdownize-debug/ and opened in the right Sidebar preview. A composer notice reports its size, path and the engine used.

Nothing is sent to the model, and the draft is left as it was. Images and unsupported formats are skipped.

Limits and safety

  • Only local files: URLs are rejected (use the web tools for those).
  • Files are read with the privileges of the dsh process.
  • Files are capped at 50 MB.
  • ZIPs are capped at 200 entries and 50 MB uncompressed, and nest at most one level deep.
  • Tool output is truncated at 100,000 characters by default.

Not covered: OCR of scanned documents, images in PDFs, image captioning for text-only models, audio transcription, YouTube, Azure Document Intelligence, and the legacy .doc and .ppt formats.

Structure

  • index.js — the Host half. It registers the convert_to_markdown tool and the markdownize service (convert, convertPath, status, configure, configureImages, redetect), served through the Gateway's SRC fallback.
  • engine.js — engine selection, MarkItDown detection and invocation, and the saved settings.
  • convert.js — the JavaScript engine.
  • images.js — embedded images: markers, model hand-off, and the tool's output schema.
  • client.js — the Client half: the engine page under Plugins, the debug-mode shortcut, and the en / es / zh UI strings.
  • locale/ — the plugin's localized title and description.
  • cordis.patch.yml — inserts the dsh-markdownize plugin row.
  • vendor/ — the bundled converter libraries (generated; committed).
  • build-vendor.mjs — rebuilds vendor/.

Rebuilding vendor/

After changing a converter's version in devDependencies:

npm install && npm run build

Commit the regenerated vendor/ files: the plugin loads them at runtime.

License

Copyright 2026 gorkaseto. Licensed under the Apache License, Version 2.0; see NOTICE for the bundled third-party libraries and their licenses.

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Remotedsh-remoteDeepSeek Harness 的远程工作助手:连接 SSH(密码/密钥/代理/键盘交互、多跳 ProxyJump),从 ~/.ssh/config 列出主机,选择远程工作区,使用 21 个 rw_* 工具对其进行操作,支持感知冲突的镜像同步、内嵌 PTY tRewind Plugindsh-rewind-plugin窗口内对话回溯与工作区文件恢复Model Router@ljwei-stak/dsh-model-routerDeepSeek Harness Desktop 的统一 DS Bot 工作区:模型和 Bot 路由、私有库、录制的桌面流程以及范围限定的远程计算机控制。