Comments (5)
Same problem here with wrong rendering
+ Request Client credentials (application/json)
+ Attributes
+ grant_type: `client_credentials` (string, required)
+ client_id: `88888888-4444-4444-4444-cccccccccccc` (string, required)
+ client_secret: `clientsecret` (string, required)
+ Body
{
"grant_type": "client_credentials",
"client_id": "88888888-4444-4444-4444-cccccccccccc",
"client_secret": "clientsecret"
}
from api-blueprint-sublime-plugin.
@danielgtaylor Now that I look at this with fresh eyes, this might not be an issue at all, since underscores in MSON are not allowed and they need to be escaped. If that rule is followed, the highlighter would not make any mistake.
from api-blueprint-sublime-plugin.
MSON are not allowed and they need to be escaped
This is true for property names and values. Not for description.
from api-blueprint-sublime-plugin.
Same hightlighting issue happens if you have a JSON payload that contains a key that starts with an underscore.
For instance:
## Videos Collection [/videos]
Provides access to all videos.
+ Model (application/json)
JSON representation of videos
+ Body
{
"_pagination":
{
"next": "/videos?offset=7",
"total_count": 100
}
}
Highlighting is incorrect in sublime text starting from the underscore.
from api-blueprint-sublime-plugin.
any update?
from api-blueprint-sublime-plugin.
Related Issues (18)
- Don't understand the result HOT 2
- plugin does not work HOT 11
- Schema body is not highlighted HOT 1
- Incorrect highlighting of escaped strings in MSON HOT 1
- Incorrect highlighting when content-type have charset
- Installation instructions HOT 3
- Highlighting broken HOT 4
- Code blocks within list items should be code-blocks HOT 1
- Linting doesn't recognise comments HOT 2
- Folding markers are not correct
- Feature-Request : Highlighting for fixed-type and nullable type attributes HOT 2
- sublime text build system
- 'selector' is mandatory in 'cls.defaults'
- No highlighting in blueprint code HOT 10
- example of using resulting ast HOT 4
- put the plugin into package control HOT 12
- Windows : 'str' does not support the buffer interface HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-blueprint-sublime-plugin.