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.

Top comments (3)

Collapse
 
benjioe profile image
Benjioe

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?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

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

Collapse
 
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.

DEV

Thank you.

Β 
Thanks for visiting DEV, we’ve worked really hard to cultivate this great community and would love to have you join us. If you’d like to create an account, you can sign up here.