An open API service indexing awesome lists of open source software.

https://github.com/xavdid/ts-playground-plugin-prettier

A simple Typescript Playground Plugin to Invoke Prettier.
https://github.com/xavdid/ts-playground-plugin-prettier

playground-plugin prettier typescript typescript-play

Last synced: about 1 year ago
JSON representation

A simple Typescript Playground Plugin to Invoke Prettier.

Awesome Lists containing this project

README

          

## TypeScript Playground Plugin

A simple Typescript Playground Plugin to invoke [Prettier](https://prettier.io/)

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:

![](https://cdn.zappy.app/323892f7ef49bf1399a039900b5e99cd.png)

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](./CONTRIBUTING.md) for the full details, however, TLDR:

```sh
git clone ...
yarn install
yarn start
```

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