Protocol Buffers

Protocol Buffers Code-Screenshot-Generator

Verwandle Protocol Buffers-Snippets in Bilder, die man gerne teilt — ohne deinen Mac zu verlassen.

A .proto file is a contract, and screenshots of it usually appear in design docs where the field numbers matter as much as the names.

Codeshot erkennt Protocol Buffers 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.

syntax = "proto3";

package snapshot.v1;

message Snapshot {
  string code = 1;
  string theme = 2;
  int32 scale = 3;
}
Atom One · dunkel
syntax = "proto3";

package snapshot.v1;

message Snapshot {
  string code = 1;
  string theme = 2;
  int32 scale = 3;
}
Edge · dunkel
syntax = "proto3";

package snapshot.v1;

message Snapshot {
  string code = 1;
  string theme = 2;
  int32 scale = 3;
}
GitHub · dunkel

Das passende Theme für Protocol Buffers

Never crop field numbers. They are the part that cannot change later, so an image that hides them is missing the important half.

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.

Sieh dir alle 30 Themes im Vergleich an oder lies den kompletten Ablauf.

Gebaut für Protocol Buffers und 59 weitere Sprachen

Alles läuft auf deinem Mac. Dein Code verlässt ihn nie.

Für macOS laden