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