dsh-ext-master
Document preview extensions for DeepSeek Harness: configurable Markdown suffixes (.mdc by default) and more preview types over time.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxid/dsh-ext-master配置
bundle 自带默认配置:
previews:
markdown:
- mdc
要扩展更多后缀,在 ~/.dsh/profiles/desktop/cordis.patch.yml 追加:
- id: dsh-ext-master
name: dsh-ext-master
config:
previews:
markdown:
- mdc
- mdx
previews 的 key 对应预览定义 id 的最后一段(如 markdown、html)。后续新增预览类型时沿用同一结构:
previews:
markdown: [mdc, mdx]
html: [xhtml]
改配置后刷新页面(扩展名在页面加载时注入);仅改本插件 lib/client.js 时代码本身可被 DSH HMR 热重载。