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

Support multiline GraphQL descriptions #2405

Closed
AlexMabry opened this issue May 26, 2020 · 1 comment
Closed

Support multiline GraphQL descriptions #2405

AlexMabry opened this issue May 26, 2020 · 1 comment

Comments

@AlexMabry
Copy link
Contributor

Information:

  • Prism version: latest from the download page
  • Plugins: none
  • Environment: Browser

Description
GraphQL descriptions, specifically multi-line, as described in section 3.3 of the GraphQL spec are not highlighted correctly.

Also, since the spec calls out that descriptions can be formatted in CommonMark, would it make sense to format the description contents as markdown?

Example
https://jsfiddle.net/AlexMabry/5swkjcob/7/

AlexMabry pushed a commit to AlexMabry/prism that referenced this issue May 27, 2020
@RunDevelopment
Copy link
Member

Fixed by #2406.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants