You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var{ graphql, buildSchema }=require("graphql");// this could also be `async function`module.exports=function(){// if you want to `await` for other things here, use `async function`varschema=buildSchema(`type Query { hello: String }`);varroot={hello: ()=>"Hello world async!"};returngraphql(schema,"{ hello }",root);};
Works fine on https://prismjs.com/test.html
Works fine when using language text.
But when using language js it outputs this:
Note the ); on a new line.
The text was updated successfully, but these errors were encountered:
This example on 11ty.io:
Works fine on https://prismjs.com/test.html
Works fine when using language
text
.But when using language
js
it outputs this:Note the
);
on a new line.The text was updated successfully, but these errors were encountered: