typedoc-plugin-markdown
A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.
Last updated 4 years ago by tgreyuk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install typedoc-plugin-markdown 
SYNC missed versions from official npm registry.

typedoc-plugin-markdown

A plugin for TypeDoc that renders TypeScript API documentation as Markdown.

npm Build Status

What does it do?

By default, TypeDoc will render API documentation as a webpage, e.g. HTML files.

The plugin replaces the default HTML theme with a built-in Markdown theme and exposes some additional options. This is useful if documentation is required to be included in project README files, Wikis and static site generators.

Installation

Please note the next pre-release version may contain breaking changes within the same semantic version.

TypeDoc and Prettier are both required peer dependencies.

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

Usage

typedoc --plugin typedoc-plugin-markdown

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).

File output options

See File output options for further documentation.

  • --entryDocument
    The file name of the entry document. Defaults to README.md.
  • --kindsWithOwnFile
    Determines which reflection kinds should be written to its own file. Expected values [None, All] OR Array of [Class, Interface, Enum, Function, Variable, TypeAlias]. Defaults to All.
  • --flattenOutputFiles
    Flatten output files without folders. Note this does not effect the UI. Defaults to false.
  • --numberPrefixOutput
    Prefixes docs and folders by number prefixes if applicable. Useful for auto sidebar generation. Defaults to false.

UI options

  • --hideBreadcrumbs
    Do not print breadcrumbs header. Defaults to false.
  • --hideInPageTOC
    Do not print in-page index items. Defaults to false.
  • --hidePageTitle
    Do not print the page title. Defaults to false.
  • --hideKindTag
    Do not print the kind tag beneath the page title. Defaults to false.
  • --hideHierarchy
    Do not print reflection hierarchy. Defaults to false.
  • --indexPageTitle
    The title of the main index / modules page. If not set will default to the project name.
  • --groupByKinds
    Group reflection kinds by headings (if applicable). If set to false all reflections will group at the same level. Note this effects directory stucture and UI organisation heading structure. Defaults to true.
  • --indentifiersAsCodeBlocks
    Format signature and declaration identifiers in code blocks. Note if true references will not be linked. Defaults to false.
  • --propertiesFormat
    Specify the render style of properties groups for Interfaces and Classes. Expected values [list, table]. Defaults to list.
  • --typeDeclarationFormat
    Specify the render style of type declarations. Expected values [list, table]. Defaults to list.
  • --enumMembersFormat
    Specify the render style of Enum members. Expected values [list, table]. Defaults to list.

Frontmatter options

See Front matter options for further documentation.

  • --enableFrontmatter
    Prepend output with a YAML front matter block. Defaults to false.
  • --frontmatterTags
    Specify which file comment tags should be added to front matter variables (as an array).
  • --frontmatterGlobals
    Specify global static variables to be added to all front matter blocks (as an object).
  • --frontmatterNamingConvention
    Specify the naming convention of front matter variables. Expected values [camelCase, snakeCase,kebabCase]. Defaults to camelCase.

Utility options

  • --anchorFormat
    The anchor pattern to use when linking to internal symbols. Expected values [lowercase, slug, none]. Defaults to lowercase.
  • --namedAnchors
    Use HTML named anchors tags for implementations that do not assign header ids. Defaults to false.
  • --baseUrl
    Specifies the base url for internal link. If omitted all urls will be relative. Defaults to .

Output formatting (Prettier)

Generated Markdown is now parsed with Prettier which is backed by the remark-parse package. This does require an additional peer dependency but has several benefits:

  • Produces a consistent format.
  • Remove unnecessary escape characters.
  • Formats code blocks inside comment fenced blocks.

Any prettier configuration files discovered will be passed as options to the parser.

Further Documentation

License

MIT

Current Tags

  • 4.14.1                                ...           latest (a month ago)

273 Versions

  • 4.14.1                                ...           a month ago
  • 4.14.0                                ...           2 months ago
  • 4.13.1                                ...           2 months ago
  • 4.13.0                                ...           3 months ago
  • 4.12.0                                ...           6 months ago
  • 4.11.0                                ...           8 months ago
  • 4.10.0                                ...           10 months ago
  • 4.9.0                                ...           a year ago
  • 4.8.1                                ...           a year ago
  • 4.8.0                                ...           a year ago
  • 4.7.1                                ...           a year ago
  • 4.7.0                                ...           a year ago
  • 4.6.4                                ...           a year ago
  • 4.6.3                                ...           2 years ago
  • 4.6.2                                ...           2 years ago
  • 4.6.1                                ...           2 years ago
  • 4.6.0                                ...           2 years ago
  • 4.5.2                                ...           2 years ago
  • 4.5.1                                ...           2 years ago
  • 4.5.0                                ...           2 years ago
  • 4.4.2                                ...           2 years ago
  • 4.4.1                                ...           2 years ago
  • 4.4.0                                ...           2 years ago
  • 4.3.3                                ...           2 years ago
  • 4.3.2                                ...           2 years ago
  • 4.3.1                                ...           2 years ago
  • 4.3.0                                ...           2 years ago
  • 4.2.10                                ...           2 years ago
  • 4.2.9                                ...           2 years ago
  • 4.2.8                                ...           2 years ago
  • 4.2.7                                ...           2 years ago
  • 4.2.6                                ...           2 years ago
  • 4.2.5                                ...           2 years ago
  • 4.2.4                                ...           2 years ago
  • 4.2.3                                ...           2 years ago
  • 4.2.2                                ...           2 years ago
  • 4.2.1                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.2                                ...           2 years ago
  • 4.1.1                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.3                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 4.0.0-next.60                                ...           3 years ago
  • 4.0.0-next.59                                ...           3 years ago
  • 4.0.0-next.58                                ...           3 years ago
  • 4.0.0-next.57                                ...           3 years ago
  • 4.0.0-next.56                                ...           3 years ago
  • 4.0.0-next.55                                ...           3 years ago
  • 4.0.0-next.54                                ...           3 years ago
  • 4.0.0-next.53                                ...           3 years ago
  • 4.0.0-next.52                                ...           3 years ago
  • 4.0.0-next.51                                ...           3 years ago
  • 4.0.0-next.50                                ...           3 years ago
  • 4.0.0-next.49                                ...           3 years ago
  • 4.0.0-next.48                                ...           3 years ago
  • 4.0.0-next.47                                ...           3 years ago
  • 4.0.0-next.46                                ...           3 years ago
  • 4.0.0-next.45                                ...           3 years ago
  • 4.0.0-next.44                                ...           3 years ago
  • 4.0.0-next.43                                ...           3 years ago
  • 4.0.0-next.42                                ...           3 years ago
  • 4.0.0-next.41                                ...           3 years ago
  • 4.0.0-next.40                                ...           3 years ago
  • 4.0.0-next.39                                ...           3 years ago
  • 4.0.0-next.38                                ...           3 years ago
  • 4.0.0-next.37                                ...           3 years ago
  • 4.0.0-next.36                                ...           3 years ago
  • 4.0.0-next.35                                ...           3 years ago
  • 4.0.0-next.34                                ...           3 years ago
  • 4.0.0-next.33                                ...           3 years ago
  • 4.0.0-next.32                                ...           3 years ago
  • 4.0.0-next.31                                ...           3 years ago
  • 4.0.0-next.30                                ...           3 years ago
  • 4.0.0-next.29                                ...           3 years ago
  • 4.0.0-next.28                                ...           3 years ago
  • 4.0.0-next.27                                ...           3 years ago
  • 4.0.0-next.26                                ...           3 years ago
  • 3.17.1                                ...           3 years ago
  • 3.17.0                                ...           3 years ago
  • 4.0.0-next.25                                ...           3 years ago
  • 4.0.0-next.24                                ...           3 years ago
  • 4.0.0-next.23                                ...           3 years ago
  • 4.0.0-next.22                                ...           3 years ago
  • 4.0.0-next.21                                ...           3 years ago
  • 4.0.0-next.20                                ...           3 years ago
  • 4.0.0-next.19                                ...           3 years ago
  • 3.16.0                                ...           3 years ago
  • 4.0.0-next.18                                ...           3 years ago
  • 3.15.4                                ...           3 years ago
  • 4.0.0-next.17                                ...           3 years ago
  • 4.0.0-next.16                                ...           3 years ago
  • 4.0.0-next.15                                ...           3 years ago
  • 4.0.0-next.14                                ...           3 years ago
  • 4.0.0-next.13                                ...           4 years ago
  • 4.0.0-next.12                                ...           4 years ago
  • 4.0.0-next.11                                ...           4 years ago
  • 3.15.3                                ...           4 years ago
  • 4.0.0-next.10                                ...           4 years ago
  • 4.0.0-next.9                                ...           4 years ago
  • 4.0.0-next.8                                ...           4 years ago
  • 3.15.2                                ...           4 years ago
  • 4.0.0-next.7                                ...           4 years ago
  • 4.0.0-next.6                                ...           4 years ago
  • 4.0.0-next.5                                ...           4 years ago
  • 4.0.0-next.4                                ...           4 years ago
  • 3.15.1                                ...           4 years ago
  • 3.15.0                                ...           4 years ago
  • 4.0.0-next.3                                ...           4 years ago
  • 4.0.0-next.2                                ...           4 years ago
  • 4.0.0-next.1                                ...           4 years ago
  • 4.0.0-next.0                                ...           4 years ago
  • 3.14.0                                ...           4 years ago
  • 3.13.6                                ...           4 years ago
  • 3.13.5                                ...           4 years ago
  • 3.13.4                                ...           4 years ago
  • 3.13.3                                ...           4 years ago
  • 3.13.2                                ...           4 years ago
  • 3.13.1                                ...           4 years ago
  • 3.13.0                                ...           4 years ago
  • 3.12.1                                ...           5 years ago
  • 3.12.0                                ...           5 years ago
  • 3.11.14                                ...           5 years ago
  • 3.11.13                                ...           5 years ago
  • 3.11.12                                ...           5 years ago
  • 3.11.11                                ...           5 years ago
  • 3.11.10                                ...           5 years ago
  • 3.11.9                                ...           5 years ago
  • 3.11.8                                ...           5 years ago
  • 3.11.7                                ...           5 years ago
  • 3.11.6                                ...           5 years ago
  • 3.11.5                                ...           5 years ago
  • 3.11.4                                ...           5 years ago
  • 3.11.3                                ...           5 years ago
  • 3.11.2                                ...           5 years ago
  • 3.11.1                                ...           5 years ago
  • 3.11.0                                ...           5 years ago
  • 3.10.4                                ...           5 years ago
  • 3.10.3                                ...           5 years ago
  • 3.10.2                                ...           5 years ago
  • 3.10.1                                ...           5 years ago
  • 3.10.0                                ...           5 years ago
  • 3.9.0                                ...           5 years ago
  • 3.8.2                                ...           6 years ago
  • 3.8.1                                ...           6 years ago
  • 3.8.0                                ...           6 years ago
  • 3.7.2                                ...           6 years ago
  • 3.7.1                                ...           6 years ago
  • 3.7.0                                ...           6 years ago
  • 3.6.1                                ...           6 years ago
  • 3.6.0                                ...           6 years ago
  • 3.5.0                                ...           6 years ago
  • 3.4.5                                ...           6 years ago
  • 3.4.4                                ...           6 years ago
  • 3.4.3                                ...           6 years ago
  • 3.4.2                                ...           6 years ago
  • 3.4.1                                ...           6 years ago
  • 3.4.0                                ...           6 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.11                                ...           6 years ago
  • 3.0.10                                ...           6 years ago
  • 3.0.9                                ...           6 years ago
  • 3.0.8                                ...           6 years ago
  • 3.0.7                                ...           6 years ago
  • 3.0.6                                ...           6 years ago
  • 3.0.5                                ...           6 years ago
  • 3.0.4                                ...           6 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.4.2                                ...           6 years ago
  • 2.4.1                                ...           6 years ago
  • 2.4.0                                ...           6 years ago
  • 2.3.2                                ...           6 years ago
  • 2.3.1                                ...           6 years ago
  • 2.3.0                                ...           6 years ago
  • 2.2.17                                ...           7 years ago
  • 2.2.16                                ...           7 years ago
  • 2.2.15                                ...           7 years ago
  • 2.2.14                                ...           7 years ago
  • 2.2.13                                ...           7 years ago
  • 2.2.12                                ...           7 years ago
  • 2.2.11                                ...           7 years ago
  • 2.2.10                                ...           7 years ago
  • 2.2.9                                ...           7 years ago
  • 2.2.8                                ...           7 years ago
  • 2.2.7                                ...           7 years ago
  • 2.2.6                                ...           7 years ago
  • 2.2.5                                ...           7 years ago
  • 2.2.4                                ...           7 years ago
  • 2.2.3                                ...           7 years ago
  • 2.2.2                                ...           7 years ago
  • 2.2.1                                ...           7 years ago
  • 2.2.0                                ...           7 years ago
  • 2.1.12                                ...           7 years ago
  • 2.1.11                                ...           7 years ago
  • 2.1.10                                ...           7 years ago
  • 2.1.9                                ...           7 years ago
  • 2.1.8                                ...           7 years ago
  • 2.1.7                                ...           7 years ago
  • 2.1.6                                ...           7 years ago
  • 2.1.5                                ...           7 years ago
  • 2.1.4                                ...           7 years ago
  • 2.1.3                                ...           7 years ago
  • 2.1.2                                ...           7 years ago
  • 2.1.1                                ...           7 years ago
  • 2.1.0                                ...           7 years ago
  • 2.0.11                                ...           7 years ago
  • 2.0.10                                ...           7 years ago
  • 2.0.9                                ...           7 years ago
  • 2.0.8                                ...           7 years ago
  • 2.0.7                                ...           7 years ago
  • 2.0.6                                ...           7 years ago
  • 2.0.5                                ...           7 years ago
  • 2.0.4                                ...           7 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.2.1                                ...           8 years ago
  • 1.2.0                                ...           8 years ago
  • 1.1.27                                ...           8 years ago
  • 1.1.26                                ...           8 years ago
  • 1.1.25                                ...           8 years ago
  • 1.1.24                                ...           8 years ago
  • 1.1.23                                ...           8 years ago
  • 1.1.22                                ...           8 years ago
  • 1.1.21                                ...           8 years ago
  • 1.1.20                                ...           8 years ago
  • 1.1.19                                ...           8 years ago
  • 1.1.18                                ...           8 years ago
  • 1.1.17                                ...           8 years ago
  • 1.1.16                                ...           8 years ago
  • 1.1.15                                ...           8 years ago
  • 1.1.14                                ...           8 years ago
  • 1.1.13                                ...           8 years ago
  • 1.1.12                                ...           9 years ago
  • 1.1.11                                ...           9 years ago
  • 1.1.10                                ...           9 years ago
  • 1.1.9                                ...           9 years ago
  • 1.1.8                                ...           9 years ago
  • 1.1.7                                ...           9 years ago
  • 1.1.6                                ...           9 years ago
  • 1.1.5                                ...           9 years ago
  • 1.1.4                                ...           9 years ago
  • 1.1.3                                ...           9 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.15                                ...           9 years ago
  • 1.0.14                                ...           9 years ago
  • 1.0.13                                ...           9 years ago
  • 1.0.12                                ...           9 years ago
  • 1.0.11                                ...           9 years ago
  • 1.0.10                                ...           9 years ago
  • 1.0.9                                ...           9 years ago
  • 1.0.8                                ...           9 years ago
  • 1.0.7                                ...           9 years ago
  • 1.0.6                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.12                                ...           9 years ago
Maintainers (1)
Downloads
Total 1,125
Today 4
This Week 21
This Month 372
Last Day 4
Last Week 24
Last Month 608
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE