Skip to content

Commit 708a8ab

Browse files
authored
upate how to run prettier
1 parent ad01bec commit 708a8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pages are generated from the [Markdown](https://www.markdownguide.org/basic-synt
1313
- [Prettier](https://prettier.io/) - check if the formatting of the code follows the style guide
1414
- [lychee](https://lychee.cli.rs/) - check for broken links
1515

16-
Errors from prettier are fixed by running 'prettier [file] --write' and pushing the new file (easiest to do on Analysis after installing the [Shopify Liquid Prettier Plugin](https://www.npmjs.com/package/@shopify/prettier-plugin-liquid)).
16+
Errors from prettier are fixed by running 'npx prettier -w [file]' and pushing the new file (easiest to do on Analysis after installing the [Shopify Liquid Prettier Plugin](https://www.npmjs.com/package/@shopify/prettier-plugin-liquid)).
1717

1818
Code syntax highlighting using [GitHub style](https://github.com/jwarby/jekyll-pygments-themes). Math typesetting supported through [MathJax](https://www.mathjax.org/), with additional support for [chartjs charts](https://www.chartjs.org/), [mermaid diagrams](https://mermaid-js.github.io/mermaid/#/), and [TikZ figures](https://tikzjax.com/).
1919

0 commit comments

Comments
 (0)