d-ouyang/dsh-plugin-md-outline

d-ouyang★ 2JavaScriptLast synced: 2026-08-14

Open on GitHub

DeepSeek Harness plugin: outline and lint Markdown document structure (heading tree, level skips, duplicate headings, unclosed code fences).

README excerpt

dsh-plugin-md-outline 🇨🇳 中文文档     🇺🇸 English A minimal but practical DeepSeek Harness plugin that adds an md outline tool. It outlines and lints Markdown documents: a nested heading tree plus structural warnings that are tedious to check by hand and easy to get wrong in long docs (book drafts, skill sets, specs). Topic: dsh-plugin — add this topic to the GitHub repo so the ecosystem can discover it (see Publishing the dsh-plugin topic below). What it does Check Why it matters Heading tree (H1–H6, with line numbers) Navigate and audit long documents at a glance. Heading-level skips (e.g. H1 → H3) Catches broken document hierarchy. Duplicate heading text Flags accidental repeats that break anchors/TOC. Missing H1 / multiple H1 Enforces a single document title. Unclosed code fences The classic long-doc bug — a fence left open makes everything after it "code". Headings inside fences are correctly ignored. Preview Terminal preview from node examples/run.mjs (covers all 5 sample docs — clean, level skip, duplicate headings, multiple H1, unclosed fence): What a bad doc looks like — examples/level-skip.md The left side is the source as written; the right side is what md outli…

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-pluginmarkdown

Category