docs(API): add fenced code block for syntax highlighting