api-blueprint
api-blueprint copied to clipboard
Sublime Plugin: Body syntax is not properly highlighted
Notice how request body is syntax highlighted but response body is not.

Yup, seems like this is the problem.
# API
## R [/r]
### DO [GET]
+ request A (application/json)
+ body
{
"x": 42
}
+ response 200 (application/json)
+ body
{
"x": 42
}
The bug here is that it is looking for either just + Request (application/json) or a number like + Request 123 (application/json). It's not taking into account that there may be a request name.
The content-types are not getting highlighted in here even though the text is only Request before the content-type.