Skip to content

jamesmosier/prettier-chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prettier Chrome Extension

Format your JavaScript code using the Prettier library on any editable element (textarea and input[type=text], for now) in Chrome.

Usage

  1. Install from the Chrome Web Store to get started.
  2. Ensure your code fences are defined as JS blocks:

```js

var abc = 123;

```

  1. 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.

Thanks!

Thanks Sebastian Markbåge for the idea, Prettier, and Samuel Simões for the boilerplate.

About

Chrome extension to format JS code blocks using the Prettier library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published