4 ms·
I created a Github Action to generate images for code, within github issues. The benefits: - Easy to view and understand the image of the code v/s the code blo
by callmekatootie 6y ago
I created a Github Action to generate images for code, within github issues. 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
This uses carbon (https://github.com/carbon-app/carbon https://github.com/carbon-app/carbon)
The Github Action in question: https://github.com/callmekatootie/carbonate https://github.com/callmekatootie/carbonate
- schroffl 6y agoNow that sounds like an accessibility nightmare :P