Add custom code element to api.md