Skip to content

Latest commit

 

History

History

codetogif

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

This example uses an old version of clj-media and needs updating!

Code To Gif

A basic example of creating gifs using clj-media.

repl

repl-gif-source

Usage

See the docs for code-to-gif/make-code-gif and code-to-gif/repl-to-gif for programmatic usage.

Cli example

To run a basic example:

clojure -M -m code-to-gif

This will create example.gif with the source of clojure.core/filter.

To create a gif for a different function, simply pass the symbol as the first argument:

clojure -M -m code-to-gif clojure.pprint/pprint