Turn Gherkin snippets into images worth sharing, without leaving your Mac.
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 detects Gherkin from the code you paste, so there is no language picker to get wrong. Here is the same snippet in three of the 30 themes it ships with, rendered with the app's own stylesheets.
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 · dark
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 · dark
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 · dark
Choosing a theme for 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.
Getting the size right
Let the image follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4 — then export at 1×, 2×, or 3× so it stays sharp on a retina display. Copy it straight to the clipboard with ⌘⇧C, or save with ⌘S.