Introduction

DeepSeek Harness (DSH) adopts the philosophy of “everything is a plugin.” When writing long documents or needing to generate a table of contents automatically, relying on external APIs often means privacy leakage risks or network latency. Local processing is a safer choice.

What It Is

dsh-markdown-toc is a plugin maintained by uckkk, used to generate a table of contents for Markdown documents locally.

Core Features

  • Generate Markdown tables of contents
  • Pure Node implementation, with no dependency on external networks or services

Installation and Enablement

  1. Install the plugin using the official command:
dsh plugin add dsh-markdown-toc
  1. After installation, find the dsh.profile.bundles configuration item in the package.json file of the profile, and add "dsh-markdown-toc".

Typical Usage

After installation, you can invoke the tools registered by the plugin in the session.

Applicable Scenarios and Notes

  • Applicable Scenarios: Scenarios where you need to generate a Markdown table of contents locally and do not want to call external services.
  • Notes: Installation means running third-party code on your local machine. Be sure to review the source code and license (MIT) before installing.

Conclusion

This plugin solves the dependency issue for table-of-contents generation through a local approach. For more details, visit the GitHub repository.