Pacharapol Withayasakpunt Posted on Sep 1, 2021 VSCode word wrap for very very long base64 image datauri? (Generate no more than 5 lines.) #help #vscode #markdown Is this even possible? Limiting the markdown to enable internal base64 image datauri, and keeping sanity. Top comments (3) Subscribe Submit Preview Dismiss Collapse Expand Benjioe Benjioe Benjioe Follow It's not me Location France Work Batman Joined Mar 10, 2020 • Sep 1 '21 Dropdown menu Copy link Hide 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 Expand Pacharapol Withayasakpunt Pacharapol Withayasakpunt Pacharapol Withayasakpunt Follow Currently interested in TypeScript, Vue, Kotlin and Python. Looking forward to learning DevOps, though. Location Thailand Education Yes Joined Oct 30, 2019 • Sep 3 '21 Dropdown menu Copy link Hide umm... It's not only more than 5 lines now. It's like 100 lines. Collapse Expand Snehit Sah Snehit Sah Snehit Sah Follow Linux Enthusiast and Professional Ranter. Currently figuring out web development. Have past experience of C++ and Flutter. Email snehitsah@protonmail.com Location India Joined May 23, 2021 • Sep 11 '21 Dropdown menu Copy link Hide The length depends on the size of image. Larger image size will have a longer base64 representation, and hence occupy more number of lines. Code of Conduct • Report abuse
Top comments (3)
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?
umm... It's not only more than 5 lines now. It's like 100 lines.
The length depends on the size of image. Larger image size will have a longer base64 representation, and hence occupy more number of lines.