Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
PROJECT README
一个 DeepSeek Harness(DSH)客户端插件:在右侧文件面板选择 doocs/md 排版, 把 Markdown 渲染成可直接粘贴进微信公众号编辑器的富文本。样式参考 doocs/md。
A DSH client plugin that turns Markdown into WeChat official-account (公众号) ready HTML, modelled on doocs/md.
.md / .markdown file keeps the shipped
Markdown viewer by default. The viewer dropdown gains a doocs/md 排版
option; selecting it renders the file as a WeChat article with theme controls
and a copy-icon button. The shipped Plain text viewer stays available too.text/html + text/plain); paste it into the WeChat editor and the inline
styles survive.The WeChat editor discards <style> blocks and class selectors, so the renderer
bakes every rule into style attributes: headings, paragraphs, quotes, lists,
tables, code, links and images all carry inline CSS. Relative styles are
resolved from the theme before rendering; no stylesheet, web font, CDN script,
or network request is involved.
The right-Sidebar viewer is a documentPreviews implementation: it registers
md/markdown for text-pages loading under the id
@local/wechat-md/file-preview. Its builtin priority registers it beside the
shipped Markdown viewer, so Markdown stays the default and doocs/md is a
dropdown choice; use priority: 'extension' to make it the default instead.
The Markdown parser is marked v15 (MIT),
vendored into client.js. Raw HTML in the Markdown is sanitized (scripts,
frames, form controls, on* handlers and javascript: URLs are removed) before
it reaches the preview or the clipboard.
This repository is a DSH bundle. Clone it somewhere in your workspace, then
install the package directory with plugin_manager (install_bundle):
git clone https://github.com/sleepy-zone/dsh-wechat-md.git
The bundle loads on the next page start; if the running page still shows the old client generation, restart the app (or reload the Web UI) once.
node src/build.mjs # concatenates marked + markdown.js + ui.js -> client.js
node --check client.js # syntax check
src/markdown.js — theme style maps and the marked renderer (pure, no React).src/ui.js — the right-Sidebar document viewer and its registration.src/marked.min.js — vendored marked build; do not edit.Themes are adapted from doocs/md's WTFPL-licensed theme styles; the WeChat-layout UI is written for DSH. See THIRD_PARTY_NOTICES.md for the full marked, Markdown, and doocs/md license texts.
MIT © 2026 sleepy-zone. Vendored and adapted third-party work is covered by THIRD_PARTY_NOTICES.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: wechat。