Paste it and Codeshots sets your Dockerfile in a real editor window, coloured by VS Code’s own engine, and exports a vector that stays sharp at any size. No formatter parses Dockerfile, so the code is left exactly as you pasted it.
These are the languages with a worked example. The studio itself highlights 242 and will take anything Shiki knows about.