diff --git a/package.json b/package.json index 048a17d7..d93dfafa 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "intersection-observer": "^0.12.0", "minimatch": "^3.0.4", "next": "^12.0.7", + "next-themes": "^0.0.15", "postcss": "^8.4.4", "postcss-focus-visible": "^5.0.0", "postcss-import": "^14.0.2", diff --git a/remark/withSyntaxHighlighting.js b/remark/withSyntaxHighlighting.js index 0548621a..9394e3d7 100644 --- a/remark/withSyntaxHighlighting.js +++ b/remark/withSyntaxHighlighting.js @@ -17,7 +17,7 @@ module.exports.withSyntaxHighlighting = () => { if (node.lang !== null) { node.type = 'html' node.value = [ - `
`, + `
`, `
`,
diff --git a/src/components/Community.js b/src/components/Community.js
index 63ed8351..b3054373 100644
--- a/src/components/Community.js
+++ b/src/components/Community.js
@@ -1,7 +1,7 @@
 export function Community() {
   return (