DEV Community 👩‍💻👨‍💻

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

VSCode word wrap for very very long base64 image datauri? (Generate no more than 5 lines.)

Is this even possible? Limiting the markdown to enable internal base64 image datauri, and keeping sanity.

Latest comments (3)

benjioe profile image

If I understand, you enabled vscode's setting "word wrap" and when you get a long string (like base64 Uri in Markdown), its display on more than 5 lines and that's ugly?

patarapolw profile image
Pacharapol Withayasakpunt

umm... It's not only more than 5 lines now. It's like 100 lines.

flyingcakes profile image
Snehit Sah

The length depends on the size of image. Larger image size will have a longer base64 representation, and hence occupy more number of lines.

We are hiring! Do you want to be our Senior Platform Engineer? Are you capable of chipping in across sysadmin, ops, and site reliability work, while supporting the open source stack that runs DEV and other communities?

This role might just be for you!

Apply now