Verwandle Shell-Snippets in Bilder, die man gerne teilt — ohne deinen Mac zu verlassen.
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 erkennt Shell an dem Code, den du einfügst; es gibt also keine Sprachauswahl, die man falsch treffen kann. Hier ist dasselbe Snippet in drei der 30 mitgelieferten Themes, gerendert mit den Stylesheets der App.
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
Atom One · dunkel
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
GitHub · dunkel
$ codeshot export main.swift --theme xcode
Rendered 1 snippet at 2x
Saved to ~/Desktop/main.png
Tokyo Night · dunkel
Das passende Theme für Shell
Include the prompt character. Without it nobody can tell which lines you typed and which the machine printed back.
Die richtige Größe
Lass das Bild dem Inhalt folgen oder lege es auf ein Verhältnis fest — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 oder 3:4 — und exportiere dann mit 1×, 2× oder 3×, damit es auf Retina-Displays scharf bleibt. Kopiere es mit ⌘⇧C direkt in die Zwischenablage oder sichere mit ⌘S.