Transformez vos extraits Clojure en images que l’on a envie de partager, sans quitter votre Mac.
Clojure is nearly all structure, so the parens carry the meaning and the theme has to keep them visible.
Codeshot détecte Clojure à partir du code que vous collez : aucun sélecteur de langage à se tromper. Voici le même extrait dans trois des 30 thèmes fournis, rendus avec les feuilles de style de l’app.
(defnexport"Render a snippet and write it to path."
[{:keys [code theme scale] :or {theme "xcode" scale 2}} path]
(-> code
(render theme)
(save path {:scale scale})))
Atom One · sombre
(defnexport"Render a snippet and write it to path."
[{:keys [code theme scale] :or {theme "xcode" scale 2}} path]
(-> code
(render theme)
(save path {:scale scale})))
GitHub · sombre
(defnexport"Render a snippet and write it to path."
[{:keys [code theme scale] :or {theme "xcode" scale 2}} path]
(-> code
(render theme)
(save path {:scale scale})))
Solarized · sombre
Choisir un thème pour Clojure
Pick a theme that tints delimiters differently from symbols, or a nested form turns into an undifferentiated block at small sizes.
Trouver la bonne taille
Laissez l’image suivre votre contenu ou fixez un rapport — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 ou 3:4 — puis exportez en 1×, 2× ou 3× pour qu’elle reste nette sur un écran retina. Copiez-la dans le presse-papiers avec ⌘⇧C ou enregistrez avec ⌘S.