Gherkin

Generador de imágenes de código Gherkin

Convierte fragmentos de Gherkin en imágenes que merece la pena compartir, sin salir de tu 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 detecta Gherkin a partir del código que pegas, así que no hay selector de lenguaje que puedas equivocar. Aquí tienes el mismo fragmento en tres de los 30 temas incluidos, renderizados con las hojas de estilo de la propia 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 · oscuro
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 · oscuro
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 · oscuro

Elegir un 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.

Acertar con el tamaño

Deja que la imagen siga a tu contenido o fíjala a una proporción — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 o 3:4 — y exporta a 1×, 2× o 3× para que se mantenga nítida en pantallas retina. Cópiala al portapapeles con C o guárdala con S.

Mira los 30 temas comparados o lee el flujo completo.

Hecho para Gherkin y otros 59 lenguajes

Todo se ejecuta en tu Mac. Tu código nunca sale de ahí.

Descargar para macOS