Convierte fragmentos de Shell en imágenes que merece la pena compartir, sin salir de tu Mac.
A shell session is different from a shell script: the prompt and the output are part of what you are showing, which is exactly why a screenshot beats a code block.
Codeshot detecta Shell a partir del código que pegas, así que no hay selector de lenguaje que puedas equivocar. Aquí tienes el mismo fragmento en tres de los 30 temas incluidos, renderizados con las hojas de estilo de la propia app.
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
Atom One · oscuro
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
GitHub · oscuro
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
Tokyo Night · oscuro
Elegir un tema para Shell
Include the prompt character. Without it nobody can tell which lines you typed and which the machine printed back.
Acertar con el tamaño
Deja que la imagen siga a tu contenido o fíjala a una proporción — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 o 3:4 — y exporta a 1×, 2× o 3× para que se mantenga nítida en pantallas retina. Cópiala al portapapeles con ⌘⇧C o guárdala con ⌘S.