Prettify markdown files¶
Prettier standardizes the representation and formatting of Markdown. More information is available at https://prettier.io/. Note, these instructions are for a Mac.
If you do not have npm installed, this can be installed using homebrew (if you have homebrew installed).
brew install node
Install Prettier locally¶
npm install --save-dev --save-exact prettier
Prettify your files¶
- Create a new branch
- Navigate to your root directory containing obook
npx prettier --write .
- Commit to your branch and create a pull request