Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON schemas are not syntax highlighted in docs #764

lukasgraf opened this issue Jun 22, 2019 · 0 comments · Fixed by #765


Copy link

commented Jun 22, 2019

The responses of type application/json+schema in the documentation for the @types endpoint are currently not getting syntax highlighted (see response at the bottom of that page).

This is because the respective Pygments Lexer in Sphinx is just registered for the application/json MIME type, but not application/json+schema.

Especially because these are long and deeply nested, the would benefit from getting properly highlighted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.