
mdBook
CLI把一组 Markdown 章节编译成带目录、全文搜索和主题切换的在线书籍,适合写作者连载手册、老师整理讲义和课程教材;agent 可直接改章节文件再构建预览。Rust 官方团队维护,可下载预编译程序,或装好 Rust 工具链后用 cargo 安装。
mdBook
mdBook is a utility to create modern online books from Markdown files.
Check out the User Guide for a list of features and installation and usage information. The User Guide also serves as a demonstration to showcase what a book looks like.
If you are interested in contributing to the development of mdBook, check out the Contribution Guide.
License
All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.
相關資源

Hugo
CLI用 Go 编写的静态站点生成器,把 Markdown 内容在数秒内构建成文档站、博客或落地页,自带本地预览服务器以及图片、CSS 与 JS 处理管线。
gohugoio/hugo90.1k
Vale
CLI按风格指南检查文档用语的写作 linter:可套用 Microsoft、Google 等现成规则包或自写 YAML 规则,解析 Markdown、AsciiDoc 等格式后再检查,完全离线,可接入编辑器与 CI。
vale-cli/vale6.2k
Jupyter Book
CLI把 Markdown 文档和 Jupyter 笔记本编成带目录、公式、参考文献与交叉引用的在线教材网站,也能导出出版级 PDF,常用于发布课程讲义。Jupyter 官方子项目,用 pipx 或 npm 安装;导出 PDF 需另装 Typst 或 LaTeX。
jupyter-book/jupyter-book4.3k
textlint
CLI可插拔的自然语言检查工具,像检查代码一样按规则检查 Markdown 与纯文本稿件的用词、标点和术语一致性并自动修正,也能作为 MCP 服务运行。规则需另装,生态以日语、英语规则为主;需要 Node.js 20 以上。
textlint/textlint3.2k
lint-md
CLI检查并自动修复中文 Markdown 的排版问题,如中英文之间缺空格、中文语境误用半角标点、空链接等,适合写博客、知识库和技术文档时统一格式。命令行版 @lint-md/cli 由同一团队在 lint-md/cli 仓库维护,需要本机装有 Node.js。
lint-md/lint-md958
Asciidoctor
CLI把 AsciiDoc(类似 Markdown 的纯文本标记格式)转换成 HTML5、DocBook 和 man 手册,配合官方扩展还能生成 PDF 与 EPUB 电子书,适合写技术图书、教材和大型操作手册。基于 Ruby,macOS 可用 Homebrew 安装。
asciidoctor/asciidoctor5.2k