Custom snippets for moodle