Skip to content

Commit

Permalink
Add tutorials section to plugins doc (#5805)
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Victorio authored and ikatyang committed Jan 30, 2019
1 parent 36aeb4c commit 1802ce1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/plugins.md
Expand Up @@ -245,6 +245,10 @@ isPreviousLineEmpty(text: string, node: object, options: object): boolean;
mapDoc(doc: object, callback: function): void;
```
### Tutorials
- [How to write a plugin for Prettier](https://medium.com/@fvictorio/how-to-write-a-plugin-for-prettier-a0d98c845e70): Teaches you how to write a very basic Prettier plugin for TOML.
## Testing Plugins
Since plugins can be resolved using relative paths, when working on one you can do:
Expand Down

0 comments on commit 1802ce1

Please sign in to comment.