Skip to content

juregregorin/typedoc-plugin-markdown

 
 

Repository files navigation

typedoc-plugin-markdown

npm Build Status Greenkeeper badge

A plugin for TypeDoc that exposes a theme and additional arguments for rendering markdown.

Installation

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

Usage

Specify the theme

The plugin provides an additional markdown theme:

shell

$ node_modules/.bin/typedoc --theme markdown

npm script

"scripts": {
 "docs": "typedoc --theme markdown"
}

Additional arguments

The plugin exposes the following additional arguments:

  • --mdEngine <github|bitbucket|gitbook>
    The markdown rendering engine:
    "github": Optimised for GitHub/CommonMark (Default).
    "bitbucket": Renders markdown to support Bitbucket anchor linking and more.
    "gitbook": Adds SUMMARY.md file to generate a book's table of contents and sets header levels to display correct sub-navigation menu. (Optimised for newest version of GitBook).

  • --mdHideSources
    Suppress source file linking from output.

  • --mdSourceRepo <path.to.repo>(Will be ignored on GitHub repositories)
    The source repo to use for source file linking.
    For bitbucket use: https://bitbucket.org/owner/repository_name.

Example output

Acknowledgements

About

A plugin for TypeDoc that exposes a theme and options for rendering markdown.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 79.5%
  • HTML 17.6%
  • JavaScript 2.9%