@convex-dev/typedoc-plugin-markdown

中文文档
3.15.6发布于 2023/05/20MITCommonJS近 30 天下载 1.1万

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.

原始使用文档
文档目录5 节
  1. What does it do?
  2. Installation
  3. Usage
  4. Options
  5. License

typedoc-plugin-markdown

A plugin for TypeDoc that renders TypeScript API documentation as Markdown files. (By default, TypeDoc will render API documentation as a webpage, e.g. HTML files.)

npm Build Status

What does it do?

The plugin replaces the default HTML theme with a built-in Markdown theme and exposes some additional options.

Useful if documentation is required to be included in project README files, Wikis and static site generators.

Installation

npm install --save-dev typedoc typedoc-plugin-markdown

Usage

Usage is the same as documented at TypeDoc.

typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts

Options

This plugin provides additional options beyond the normal options that are provided by TypeDoc, which are listed below. Note that any vanilla TypeDoc options that customize the HTML theme will be ignored.

  • --entryDocument<string>
    The file name of the entry document. Defaults to README.md.
  • --hideBreadcrumbs<boolean>
    Do not render breadcrumbs in template header. Defaults to false.
  • --hideInPageTOC<boolean>
    Do not render in-page table of contents items. Defaults to false.
  • --hideMembersSymbol<boolean>
    Do not add special symbols for class members. Defaults to false.
  • --publicPath<string>
    Specify the base path for all urls. If undefined urls will be relative. Defaults to ..
  • --namedAnchors<boolean>
    Use HTML named anchors tags for implementations that do not assign header ids. Defaults to false.
  • --preserveAnchorCasing<boolean>
    Preserve anchor id casing for implementations where original case is desirable. Defaults to false.

License

MIT

版本与发布记录

@convex-dev/typedoc-plugin-markdown 共发布 5 个版本,首次发布于 2023/03/03;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.15.6latest2023/05/203 年前
3.15.52023/05/113 年前
3.15.42023/05/043 年前
3.15.32023/05/033 年前
3.14.02023/03/033 年前

关于 @convex-dev/typedoc-plugin-markdown 的常见问题

@convex-dev/typedoc-plugin-markdown 是什么?

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.

如何安装 @convex-dev/typedoc-plugin-markdown?

在项目目录运行 npm install @convex-dev/typedoc-plugin-markdown,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:typedoc(>=0.24.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@convex-dev/typedoc-plugin-markdown 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/convex-dev__typedoc-plugin-markdown 是否存在。

@convex-dev/typedoc-plugin-markdown 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@convex-dev/typedoc-plugin-markdown 可以商用吗?

@convex-dev/typedoc-plugin-markdown 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@convex-dev/typedoc-plugin-markdown 的下载量有多少?

根据 npm 官方下载统计,@convex-dev/typedoc-plugin-markdown 在 2026/10/11 – 2026/11/09 这 30 天内被下载 10,649 次,日均约 355 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@convex-dev/typedoc-plugin-markdown 还在维护吗?

最新版本 3.15.6 发布于 2023/05/20(3 年前);至今共发布 5 个版本,其中过去 12 个月发布了 0 个;首次发布于 2023/03/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。