3 ms·
I see folks wondering about the use case - so here's one: I created a Github Action for use in Github Actions. The benefits: - Easy to view and understand the
by callmekatootie 6y ago
I see folks wondering about the use case - so here's one: I created a Github Action for use in Github Actions. The benefits:
- Easy to view and understand the image of the code v/s the code block text when using a mobile device. Why? Easier to scroll images v/s text.
- Members will no longer have to rely on the issue reporters and commenters to format their code blocks correctly. Using the in built formatter, the code is always structured properly
- Maintainers can style the code blocks to suit their project's language and guidelines and not put the onus of this on the issue reporter / commenter
Reference: https://github.com/callmekatootie/carbonate https://github.com/callmekatootie/carbonate
I used Carbon to generate the images in this case - but you get the gist of what one can use images of code for
- stephenr 6y agoWhy on earth would you want to provide a code snippet as an image for that? Do you want retyping-bugs? That’s how you get retyping-bugs.