Verwandle Gherkin-Snippets in Bilder, die man gerne teilt — ohne deinen Mac zu verlassen.
Gherkin is written to be read by people who do not write code, which makes it one of the few languages regularly shared with a non-technical audience.
Codeshot erkennt Gherkin 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.
Feature: Exporting a snapshot
Scenario: Export at retina scale
Given a snippet of Swift
And the Xcode theme is selected
When I export at 2x
Then the image is 1600 by 900 pixels
GitHub · dunkel
Feature: Exporting a snapshot
Scenario: Export at retina scale
Given a snippet of Swift
And the Xcode theme is selected
When I export at 2x
Then the image is 1600 by 900 pixels
iA · dunkel
Feature: Exporting a snapshot
Scenario: Export at retina scale
Given a snippet of Swift
And the Xcode theme is selected
When I export at 2x
Then the image is 1600 by 900 pixels
Solarized · dunkel
Das passende Theme für Gherkin
Because the audience is wider, push the font size up further than you would for anything else here. Assume it will be viewed on a phone in a meeting.
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.