Prettier Chrome Extension in Chrome with OffiDocs
Ad
DESCRIPTION
Format your JavaScript code using the Prettier library on any editable element (`textarea` and `input[type=text]`, for now).
sebmarkbage(https://twitter.
com/sebmarkbage/status/843866641515536384) had an idea for a tool that will format your JavaScript code that is not in your code editor/IDE.
This is the implementation I came up with.
Usage 1. Install 2. Ensure your code fences are defined as JS blocks (```js var abc = 123; ```) 3. Format your code via a handy context menu.
Options All the options that are defined in Prettier API are available to be set using the extensions options page.
Additional Information:
- Offered by jamesdmosier
- Average rating : 4 stars (liked it)
Prettier Chrome Extension web extension integrated with the OffiDocs Chromium online