1.0.2 • Published 3 months ago
typedoc-plugin-inline-sources v1.0.2
typedoc-plugin-inline-sources
A plugin for TypeDoc that inlines source code into documentation.
What it does?
The plugin retrieves the source from the ts compiler and injects within fenced code blocks.
Installation
npm install --save-dev typedoc typedoc-plugin-inline-sources
Usage
Simply use the @source
annotation in your comments. This will create a tag with the inlined source code.
Code
/**
* Comments for variable
*
* @source source tag comment?
*/
export const message = "Hello World!";