Casdoc is a novel authoring technique and presentation format to create code examples with embedded annotations for the web. Each Casdoc document focuses on a complete code example. Additional explanations of the code are shown in annotations around the code. Readers can dynamically reveal, hide, move, and resize annotations based on the information they need. Authors insert these annotations in code files directly, and Casdoc automatically transforms annotated code files into web documents.



Casdoc is a project developed by Mathieu Nassif and Martin Robillard at McGill University, with past contributions from Zara Horlacher and Emily Shannon.