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は貼り付けたコードからGherkinを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
Gherkin
Gherkinのスニペットを、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は貼り付けたコードからGherkinを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
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
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
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
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.
画像サイズを内容に合わせるか、比率で固定します(1:1、4:3、3:2、16:9、9:16、2:3、3:4)。そのうえで1×・2×・3×から選んで書き出せば、Retinaディスプレイでも鮮明なままです。⌘⇧Cでクリップボードに直接コピー、または⌘Sで保存できます。
30種類のテーマを見比べるか、全体の流れをご覧ください。
すべてMac上で動作します。コードが外に出ることはありません。