TOML shows up in Cargo manifests and tool config, where the thing worth showing is usually three lines in the middle of a long file.
Codeshotは貼り付けたコードからTOMLを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
TOML
TOMLのスニペットを、Macから離れることなく共有したくなる画像に。
TOML shows up in Cargo manifests and tool config, where the thing worth showing is usually three lines in the middle of a long file.
Codeshotは貼り付けたコードからTOMLを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"
[dependencies]
image = { version = "0.25", features = ["png"] }
[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"
[dependencies]
image = { version = "0.25", features = ["png"] }
[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"
[dependencies]
image = { version = "0.25", features = ["png"] }
Keep the section header in frame. A TOML key without its table above it is ambiguous, and cropping it out changes the meaning.
画像サイズを内容に合わせるか、比率で固定します(1:1、4:3、3:2、16:9、9:16、2:3、3:4)。そのうえで1×・2×・3×から選んで書き出せば、Retinaディスプレイでも鮮明なままです。⌘⇧Cでクリップボードに直接コピー、または⌘Sで保存できます。
30種類のテーマを見比べるか、全体の流れをご覧ください。
すべてMac上で動作します。コードが外に出ることはありません。