The `tango` crate is a tool for seamlessly transitioning back and forth between editing a markdown-based presentation of one's code and editing Rust source code that is actually fed to the compiler. I will describe how I have used `tango` to author multiple web-based slideshow presentations advertising use of Rust (including this presentation of `tango` itself), while ensuring that all of the code snippets being presented still compile and passes their embedded unit tests.

YOU MAY ALSO LIKE: