$ npm install typedoc-plugin-markdown
A plugin for TypeDoc that renders TypeScript API documentation as Markdown.
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.
Please note the
nextpre-release version may contain breaking changes within the same semantic version.
npm install typedoc-plugin-markdown@next --save-dev
typedoc --plugin typedoc-plugin-markdown
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).
See File output options for further documentation.
--entryDocumentREADME.md.--kindsWithOwnFileNone, All] OR Array of [Class, Interface, Enum, Function, Variable, TypeAlias]. Defaults to All.--flattenOutputFilesfalse.--numberPrefixOutputfalse.--hideBreadcrumbsfalse.--hideInPageTOCfalse.--hidePageTitlefalse.--hideKindTagfalse.--hideHierarchyfalse.--indexPageTitle--groupByKindsfalse all reflections will group at the same level. Note this effects directory stucture and UI organisation heading structure. Defaults to true.--indentifiersAsCodeBlockstrue references will not be linked. Defaults to false.--propertiesFormatlist, table]. Defaults to list.--typeDeclarationFormatlist, table]. Defaults to list.--enumMembersFormatlist, table]. Defaults to list.See Front matter options for further documentation.
--enableFrontmatterfalse.--frontmatterTags--frontmatterGlobals--frontmatterNamingConventioncamelCase, snakeCase,kebabCase]. Defaults to camelCase.--anchorFormatlowercase, slug, none]. Defaults to lowercase.--namedAnchorsfalse.--baseUrl.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:
Any prettier configuration files discovered will be passed as options to the parser.
© 2010 - cnpmjs.org x YWFE | Home | YWFE