wrap function examples in code blocks