2.0.3 • Published 3 years ago
@sileigiser/typedoc-plugin-markdown v2.0.3
typedoc-plugin-markdown
A plugin for TypeDoc that renders TypeScript API documentation as Markdown.
What it does?
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-markdownUsage
Usage is the same as documented at TypeDoc.
typedoc --plugin typedoc-plugin-markdownThe --plugin arg is optional (all plugins are loaded by default), however if using with the default html theme, use --plugin none to switch the plugin off.
Options
The following options can be used in addition to relevant TypeDoc options (please note that TypeDoc options specific to the html theme will be ignored).
Do not render breadcrumbs in template header. Defaults to false.
--entryDocumentThe file name of the entry document. Defaults toREADME.md.--hideBreadcrumbsDo not render breadcrumbs in template header. Defaults tofalse.--hideInPageTOCDo not add special symbols for class members. Defaults tofalse.--hasOwnDocumentDetermines which symbols should be hoisted to their own document. Expected values areNone,AllOR Array of['class', 'interface', 'enum', 'function', 'variable', 'type']Defaults toNone(all symbols included in a single module page). See directory strategy.--namedAnchorsUse HTML named anchors tags for implementations that do not assign header ids. Defaults tofalse.--embedHeadingsInCodeBlockWraps the heading of a reflection in a code block. Defaults tofalse.