Skip to content

xavdid/ts-playground-plugin-prettier

Repository files navigation

TypeScript Playground Plugin

A simple Typescript Playground Plugin to invoke Prettier

It's currently intentionally very simple, but may support more options later.

Running this plugin

As of 2020-11-27, it's available in the sidebar under plugins:

If it's not, you can also:

  • Open up the TypeScript Playground
  • Go the "Plugins" in the sidebar
  • Look for "Plugins from npm"
  • Add ts-playground-plugin-prettier
  • Reload the browser

Then it will show up as a tab in the sidebar.

Contributing

See CONTRIBUTING.md for the full details, however, TLDR:

git clone ...
yarn install
yarn start

Then tick the box for starting plugin development inside the TypeScript Playground.