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.
- Host: GitHub
- URL: https://github.com/xavdid/ts-playground-plugin-prettier
- Owner: xavdid
- Created: 2020-10-09T20:24:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T17:23:46.000Z (almost 3 years ago)
- Last Synced: 2025-03-05T22:45:38.465Z (over 1 year ago)
- Topics: playground-plugin, prettier, typescript, typescript-play
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/ts-playground-plugin-prettier
- Size: 62.5 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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:

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.