Code.Movie | Animated Syntax highlighter

Code.Movie

Syntax highlighting, animated!

Level up your coding content effortlessly with mighty morphing syntax highlighted source code animations!

Supported languages and frameworks

Why?

Animations make changes easy to follow, improving slide decks, codings tutorials, tools or video content. Also animations look pretty, are easy to create, and work reliably with zero dependencies – so why not?

How?

Code.Movie runs strings of code through a semantic diffing algorithm, instantly transforming them into bog-standard HTML and CSS animations. No runtime JS required, manual tweaks optional.

Get started!

Code.Movie is just JavaScript library that's fast enough to run in web frontends, but also works server-side. Grab it from NPM or a CDN, add it to your project, follow the tutorial, done!

Latest update: New two-stage diffing algorithm and other animation heuristics improvements in 0.0.45

Code.Movie 0.0.45 introduces a two-stage diffing algorithm, smaller heuristics tweaks for CSS and Elixir, and fixes a number of documentation issues.

Read the full post

Performant

Fast enough to compute client-side animations on the fly. Throw a script into your page, done.

Flexible

Works in browsers as well as with Node.js and friends. Strings in, strings out!

Robust

Fault-tolerant parsers based on Lezer effortlessly deal with even the most broken code.

Reliable

Zero run-time dependencies - only HTML and CSS. Zero compile-time dependencies as well!

Customizable

Several themes, 140+ CSS variables and multiple styling hooks are available.

Deterministic

No AI involved at any stage. Only hand-crafted heuristics built by a real person.