snippet documentation