graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.76k stars 734 forks source link

Markdown links in type/operation description is parsed and clickable. #841

Open DownGoat opened 6 years ago

DownGoat commented 6 years ago

This issue pertains to the following package(s):

What OS and OS version are you experiencing the issue(s) on?

Windows 10, OSX

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

1.6.3

What is the expected behavior?

Links not clickable

What is the actual behavior?

Link is clickable

What steps may we take to reproduce the behavior?

Expose a type/operation with markdown in description. We have a Date type with the following description in schema.graphql:

The `Date` scalar type represents a year, month and day in accordance with the
[ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) standard.

ISO-8601 then becomes clickable, and takes you to Wikipedia, with no way to navigate back.

huv1k commented 6 years ago

@DownGoat Maybe open them in a new tab?