TypeScript Definitions to Markdown (ts-to-md) is a VS Code extension that helps you to export your TypeScript definitions in Markdown format directly to your clipboard ready to paste in your README.
- Exports Type and Interface.
- Outputs Markdown table (or list).
- Take care of BlockDoc comments.
- Bring default value from TSDoc @default tag.
- Also works with unsaved or scratch file.
- Uses your local/global typescript version.
- Fallback to embedded typescript version.
- Set a custom fixed version of typescript.
Planned
- Markdown list output.
- ...
Install through VS Code Marketplace: TypeScript Definitions to Markdown.
Right click on any type or interface and search for TS Definitions to Markdown
in the contextual menu next to copy/paste or use the command palette Ctrl+Shift+P
and search for the same command name.