
A code example in a slide has to stay readable after the slide is resized. Codeimg.io is Igor Duspara’s browser tool for turning a snippet into an image. Try it with two lines you can share, then check what the exported image looks like in the space where you plan to use it. Codeimg.io
To see whether the formatting does its job, imagine the reader is trying to find the line that counts the labels. Make that line easy to spot without asking them to study decorative details.
Use Download to save the image, then open the JPEG and place it in the slide or message you are preparing. Check the last line at the size others will see. If punctuation is too small, go back to the editor, adjust the font and export again. When someone may want to run or adapt the example, share the same snippet as selectable text alongside the image.
