A plugin for TypeDoc that exposes themes and options for rendering markdown.
npm install --save-dev typedoc typedoc-plugin-markdownThe plugin provides an additional markdown theme.
node_modules/.bin/typedoc --theme markdownThe plugin exposes the following additional arguments:
--mdFlavour<github|bitbucket>
Specifies the markdown rendering engine. Defaults togithub.--mdHideSources
Suppress sources from output--mdSourceRepo<path.to.repo>
The source repo to use for source file linking. Will be ignored on github flavoured projects.
For bitbucket use:https://bitbucket.org/owner/repository_name.
/**
* This is a function with multiple arguments and a return value.
* @param paramZ This is a string parameter.
* @param paramG This is a parameter flagged with any.
*/
export function functionWithArguments(paramZ:string, paramG:any):number {
return 0;
}► functionWithArguments(paramZ: string, paramG: any): number
Defined in functions.ts:41
This is a function with multiple arguments and a return value.
Parameters:
| Param | Type | Description |
|---|---|---|
| paramZ | string |
This is a string parameter. |
| paramG | any |
This is a parameter flagged with any. |
Returns: number
Browse some mocked samples to view further examples of generated output.
- Thanks to kimamula's typedoc-markdown-theme for the inspiration behind this project.