Skip to content

Commit af82b64

Browse files
authored
Merge pull request #35 from hasparus/new-landing--graphql-advantages
new landing — graphql advantages
2 parents 91bfc52 + f363ed6 commit af82b64

25 files changed

+1700
-433
lines changed

next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import withLess from "next-with-less"
66
import fs from "fs"
77

88
import { remarkGraphiQLComment } from "./src/remark-graphiql-comment.js"
9+
import { syntaxHighlightingThemes } from "./src/_design-system/syntax/index.js"
910

1011
const vercelJSON = JSON.parse(fs.readFileSync("./vercel.json", "utf-8"))
1112

@@ -15,6 +16,9 @@ const withNextra = nextra({
1516
themeConfig: "./theme.config.tsx",
1617
mdxOptions: {
1718
remarkPlugins: [remarkGraphiQLComment],
19+
rehypePrettyCodeOptions: {
20+
theme: syntaxHighlightingThemes,
21+
},
1822
},
1923
})
2024

0 commit comments

Comments
 (0)