Tools and techniques for presenting examples

This section describes some tools I created to help present examples in the Ditto section, and will also cover some existing tools and techniques that I have found useful.

Currently there are two listings: Brackify, a plugin to display placeholders and snippets without MODx parsing them, and Demo, a wrapper snippet that displays the call to a snippet above the result it returns. The use of a live, self-documenting example means the documentation is always in step with the result.