Updated API.md with syntax highlighting