File tree Expand file tree Collapse file tree
src/components/DocExplorer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ import React from 'react';
99import MD from 'markdown-it' ;
1010import { Maybe } from '../../types' ;
1111
12- const md = new MD ( ) ;
12+ const md = new MD ( {
13+ // render urls as links, à la github-flavored markdown
14+ linkify : true ,
15+ } ) ;
1316
1417type MarkdownContentProps = {
1518 markdown ?: Maybe < string > ;
Original file line number Diff line number Diff line change @@ -321,7 +321,8 @@ const TestMutationType = new GraphQLObjectType({
321321
322322const TestSubscriptionType = new GraphQLObjectType ( {
323323 name : 'SubscriptionType' ,
324- description : 'This is a simple subscription type' ,
324+ description :
325+ 'This is a simple subscription type. Learn more at https://graphql.org/blog/subscriptions-in-graphql-and-relay/' ,
325326 fields : {
326327 subscribeToTest : {
327328 type : TestType ,
You can’t perform that action at this time.
0 commit comments