prettier / prettier-browser-extension

Prettier Browser Extension
https://chrome.google.com/webstore/detail/prettier/fbcfnmplppajblbmdehballiekfgdkhp
MIT License
201 stars 18 forks source link

Prettier Browser Extension

Extension that adds support for prettifying input boxes that support Markdown or Code. Currently supports Chrome and Firefox.

Chrome Web Store

Install the extension from the store.

Development

Install Dependencies

yarn

Build

For a one-time build in production:

yarn build

Test in Chrome locally

To watch files and rebuild when files change in development:

yarn dev:chrome

# or

yan dev:firefox

To open React devtools for the options page:

yarn react-devtools

Test in Chrome locally

To watch files and rebuild when files change in development:

yarn build:firefox:dev
yarn launch:firefox

To open React devtools for the options page:

yarn react-devtools

Lint files

yarn lint

Format files

yarn format

Run tests (to be added in the future)

yarn test-only

Run all of the above

yarn test

Help

We would love your help :)