Daily Shaarli
December 31, 2022
Here is a quick trick to write Markdown or any text related format in VSCode comfortably and without messing with your file line endings: soft line wrap.
By default, soft line wrap will happen at the end of the editor. With this setting, it can happen after the Nth character:
- Open user settings in JSON format
- Add the following lines (replace Markdown by your file format, e.g. (
gemini
):
"[markdown]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100,
}
- In your Markdown file hit ALT+Z to toggle line wrapping
And voilà! It's way more comfortable to write.
Plein de contenu sur la cuisine et sur le CAP cuisine. C'est vraiment riche !