From 7415f62e8b3d1b661fdfb7109fe5deab59ae9cea Mon Sep 17 00:00:00 2001 From: davidodenwald Date: Fri, 6 Jan 2023 18:32:30 +0100 Subject: [PATCH] improve usage instructions in readme --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b43de9..e7d9673 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,7 @@ npm install --save-dev prettier prettier-plugin-jinja-template ## Use -To use it with basic .html files, you'll have to override the used parser inside your prettier config: - +To format basic .html files, you'll have to override the used parser inside your `.prettierrc`: ```json { "overrides": [ @@ -24,3 +23,8 @@ To use it with basic .html files, you'll have to override the used parser inside ] } ``` + +Run it on all html files in your project: +```bash +npx prettier --write **/*.html +``` \ No newline at end of file