docs
docs copied to clipboard
set `proseWrap: 'always'` in prettier config to respect printWidth in markdown
If I remember correctly, we set proseWrap
to never
because wrapping introduced issues with the Crowdin segmentation... but that might not be a problem anymore. That said, it also makes diffs nicer when modifying the start or middle of a paragraph.
That said, it also makes diffs nicer when modifying the start or middle of a paragraph.
exactly!
Wait, I mean proseWrap: never
does. 😅
anyway it is up to you to decide, we use proseWrap: 'always'
in our shareable configs and we love it, especially while reading markdown content in Macbook 13
I personally use the "word wrap" feature of VS Code when working with text/markdown files that aren't wrapped (Cmd+Z shortcut), so it's not really a problem. But I'm open to changing it, we just have to make sure that it doesn't break Crowdin. Maybe we can start with one file, just to test?
sure! we can try 👍