Skip to content

Commit

Permalink
Add graphql support
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 authored Sep 21, 2023
1 parent 5cb2e16 commit 1d9ca26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/release-description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ import marksy from "marksy";
import hljs from "highlight.js";
// @ts-ignore
import python from "highlight.js/lib/languages/python";
// @ts-ignore
import graphql from "highlight.js/lib/languages/graphql";

hljs.registerLanguage("python", python);
hljs.registerLanguage("graphql", graphql);

const compile = marksy({
createElement,
Expand Down

0 comments on commit 1d9ca26

Please # to comment.