Reputation: 11
My github readme table does not render in the correct way. I use this:
Request options:
| Option | Description |
| --- | --- |
| url | Request url |
| method | ```'get'``` \| ```'post'``` \| ```'put'``` \| ```'delete'``` - (default: ```'get'```) |
| headers | optional array: ```[{name: string, value: string}]``` |
| body | Request body (any type) |
| responseType | ```'text'``` \| ```'json'``` - (defult: ```'text'```) |
| success | Success function - ```function(data) { }``` |
| error | Error function - ```function(err) { }``` |
But render this:
Upvotes: 0
Views: 1271
Reputation: 11
I got it sorted out. I should have a line between "Request Options" and the table.
Request options:
| Option | Description |
| --- | --- |
| url | Request url |
| method | ```'get'``` \| ```'post'``` \| ```'put'``` \| ```'delete'``` - (default: ```'get'```) |
| headers | optional array: ```[{name: string, value: string}]``` |
| body | Request body (any type) |
| responseType | ```'text'``` \| ```'json'``` - (defult: ```'text'```) |
| success | Success function - ```function(data) { }``` |
| error | Error function - ```function(err) { }``` |
Upvotes: 1