You can download clear images of the blocks, using the snapshot tool. Right-click/tap and hold anywhere in the workspace to use it.
Selecting Snapshot will result in a properly cropped image of the blocks being downloaded eg
Alternatively, if you creating documents to consume digitally rather than in print, you can embed the code, editor or simulator in your HTML from the share button: