Transforme trechos de Gherkin em imagens que valem a pena compartilhar, sem sair do seu 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.
O Codeshot detecta Gherkin pelo código que você cola, então não há seletor de linguagem para errar. Aqui está o mesmo trecho em três dos 30 temas inclusos, renderizados com as folhas de estilo do próprio 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 · escuro
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 · escuro
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 · escuro
Escolhendo um tema para 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.
Acertando o tamanho
Deixe a imagem seguir o conteúdo ou fixe uma proporção — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 ou 3:4 — e exporte em 1×, 2× ou 3× para que continue nítida em telas retina. Copie direto para a área de transferência com ⌘⇧C ou salve com ⌘S.