In the example code snippet from their site more than half of the vertical space is taken up by unnecessary details added by Carbon (huge shadows, the window icons, borders and white space). Why would you want to waste half of your image on non-code elements when the goal is to share code?
Carbon – Create and share images of your source code
21–30 of 40 posts
Re: Carbon – Create and share images of your source code
#22Re: Carbon – Create and share images of your source code
#23When adding code to tweets, IMO the most important thing is legibility on all devices. That means a large font size with minimal distractions. In the example code snippet from their site more than half of the vertical space is taken up by unnecessary details added by Carbon (huge shadows, the window icons, borders and white space). Why would you want to waste half of your image on non-code elements when the goal is t…
Re: Carbon – Create and share images of your source code
#24What are usecases of sharing text as image? Is it to force user type from from image or use OCR to get the text?
Re: Carbon – Create and share images of your source code
#25Re: Carbon – Create and share images of your source code
#26Writing a Tweet, adding code that gets displayed as an image plus a link to some text-representation of that code-image.
Re: Carbon – Create and share images of your source code
#27Re: Carbon – Create and share images of your source code
#28Earlier quoted context omitted.
How do you share code snippets on Twitter?
You upgrade to a platform that was made for sharing code snippets and not flinging insults and blogspam
Re: Carbon – Create and share images of your source code
#29People use this in presentations, but wait if you make a mistake across many slides :) I think it’s worth looking into a better way to create presentations with code (there are many).
Pandoc is usually associated with Latex, but in reality its scope is really broad. I have been using it to convert markdown to slides for a while and it works quite well (Plus you get good syntax highlighting through pygments).
Ref: https://pandoc.org/MANUAL.html#producing-slide-shows-with-pa...