Hugo

Hugo and Prettier

It is not a Hugo question. I am a Vim user and would like to use prettier for Hugo. The question is, how can I configure prettier for the md and html files?

Try adding "proseWrap": "always" to you your .prettierrc. Docs: https://prettier.io/docs/en/options.html#prose-wrap

1 Like

It works fine. Thank you