Skip to content
/ ts-to-md Public
forked from skarab42/ts-to-md

TypeScript Definitions to Markdown

License

Notifications You must be signed in to change notification settings

Gpia/ts-to-md

 
 

Repository files navigation

TypeScript Definitions to Markdown

integration

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.

GIF

Features

  • 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.
  • ...

Installation

Install through VS Code Marketplace: TypeScript Definitions to Markdown.

Usage

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.

Known issues and limitations

https://github.com/skarab42/ts-to-md/issues

Contributing

https://github.com/skarab42/ts-to-md/pulls

About

TypeScript Definitions to Markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.6%
  • Shell 0.4%