Дополняет код необходимыми для его валидности HTML, HEAD и BODY тегами

Log in to see full request history
alert('test formatting-html');
Body Params
json
Defaults to {"jsonrpc": "2.0", "method": "formatting.html", "params": {"html": "<span>sample code</span>"}, "id": 1}

{"jsonrpc": "2.0", "method": "formatting.html", "params": {"html": "sample code"}, "id": 1}

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json